Skip to content

Commit Terraform lock and update workflows - #3

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

Commit Terraform lock and update workflows#3
malken21 merged 2 commits into
mainfrom
dev

Conversation

@malken21

@malken21 malken21 commented Jun 5, 2026

Copy link
Copy Markdown
Member

Add a composite GitHub Action to commit .terraform.lock.hcl when it changes, and update the Terraform CI workflows. terraform-apply and terraform-plan now set TF_CLI_ARGS and relevant TF/AWS/Cloudflare env vars, use actions/checkout@v6 (with PR ref for plan), install HashiCorp Terraform, run terraform init with the R2 backend config, invoke the new commit-action, and run terraform plan/apply. Also set permissions to allow writes and ignore .terraform.lock.hcl for apply triggers.

malken21 added 2 commits June 5, 2026 17:47
Add a composite GitHub Action to commit .terraform.lock.hcl when it changes, and update the Terraform CI workflows. terraform-apply and terraform-plan now set TF_CLI_ARGS and relevant TF/AWS/Cloudflare env vars, use actions/checkout@v6 (with PR ref for plan), install HashiCorp Terraform, run terraform init with the R2 backend config, invoke the new commit-action, and run terraform plan/apply. Also set permissions to allow writes and ignore .terraform.lock.hcl for apply triggers.
Set explicit job display names for the Terraform workflows by adding name: "Terraform Apply" to the apply job and name: "Terraform Plan" to the plan job. This improves readability in the GitHub Actions UI without changing job behavior.
@malken21
malken21 merged commit 05d8ca3 into main Jun 5, 2026
1 check passed
@malken21
malken21 deleted the dev branch June 5, 2026 08:52
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