Skip to content

Generate .gitignore in terraform/ to prevent state file commits#76

Merged
Alexanderamiri merged 1 commit into
mainfrom
fix/tf-gitignore-generation
Mar 17, 2026
Merged

Generate .gitignore in terraform/ to prevent state file commits#76
Alexanderamiri merged 1 commit into
mainfrom
fix/tf-gitignore-generation

Conversation

@Alexanderamiri
Copy link
Copy Markdown
Member

Both app.yaml expander and custom TF boilerplate now auto-generate a .gitignore covering .terraform/, *.tfstate, *.tfplan, and lock files. Non-destructive — skipped if one already exists.

Both paths (app.yaml expander and custom TF boilerplate) now generate
a .gitignore if one doesn't exist. Covers .terraform/, *.tfstate,
*.tfplan, and lock files. Non-destructive — won't overwrite existing.
@github-actions
Copy link
Copy Markdown

Terraform Plan

No changes — infrastructure is up to date.

Plan output

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

@Alexanderamiri Alexanderamiri merged commit e5b5a51 into main Mar 17, 2026
3 checks passed
@Alexanderamiri Alexanderamiri deleted the fix/tf-gitignore-generation branch March 17, 2026 17:30
Alexanderamiri added a commit that referenced this pull request May 9, 2026
Both app.yaml expander and custom TF boilerplate now auto-generate a
.gitignore covering .terraform/, *.tfstate, *.tfplan, and lock files.
Non-destructive — skipped if one already exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant