Skip to content

Enhance Terraform GitHub Actions workflows - #4

Merged
malken21 merged 2 commits into
mainfrom
dev
Jun 5, 2026
Merged

Enhance Terraform GitHub Actions workflows#4
malken21 merged 2 commits into
mainfrom
dev

Conversation

@malken21

@malken21 malken21 commented Jun 5, 2026

Copy link
Copy Markdown
Member

Add a dedicated "Terraform Validate" workflow and harden existing plan/apply jobs for CI automation. Set TF_INPUT and TF_IN_AUTOMATION to make runs non-interactive, disable persisted credentials for checkout, and add an if condition so plan only runs for PRs from the same repo. Update plan to init with a Cloudflare R2 backend-config and run terraform plan (instead of validate), passing required AWS/Cloudflare secrets and TF_VARs. These changes improve security and enable automated, repeatable Terraform checks.

malken21 added 2 commits June 5, 2026 19:01
Add a dedicated "Terraform Validate" workflow and harden existing plan/apply jobs for CI automation. Set TF_INPUT and TF_IN_AUTOMATION to make runs non-interactive, disable persisted credentials for checkout, and add an if condition so plan only runs for PRs from the same repo. Update plan to init with a Cloudflare R2 backend-config and run terraform plan (instead of validate), passing required AWS/Cloudflare secrets and TF_VARs. These changes improve security and enable automated, repeatable Terraform checks.
@malken21
malken21 merged commit 8693a83 into main Jun 5, 2026
2 checks passed
@malken21
malken21 deleted the dev branch June 5, 2026 10:06
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