feat: add terraform-plan action #51
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: schmalz/shared-actions#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/terraform-plan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR introduces a reusable
terraform-planaction.The goal is to add a safe preview step before Terraform changes are applied. Currently, we have validation and apply actions, but no reusable action to show what Terraform intends to change.
Why this is useful
terraform planhelps us review infrastructure changes before execution. It shows whether resources will be:This is especially useful for staging/dev workflows where we want to verify the impact before applying changes.
Benefits
terraform applyImportant note
This action only runs
terraform plan.It does not apply any changes to infrastructure.
It is intended as a read-only safety and review step.
A reference should be also added to the global README.md
@ -0,0 +29,4 @@steps:# Setup Terraform- name: Setup Terraformuses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85Please add a comment like here: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/src/branch/main/terraform-validate/action.yml#L33
0cce2c847dtod78669e602Hi @Michael.Seele ,
Required changes has been made. Please check now.
d78669e602to294b0bae45View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.