There are a few steps to follow when verifying plan alterations while using Terraform in a pipeline:
Create a new branch: Before making any plan alterations, create a new branch in your Git repository where you will make and test the changes.
Make plan alterations: Make the necessary changes to your Terraform code in the branch.
Test the new plan: Run "terraform plan
" to generate a new plan.
Compare the new plan to the previous plan: Compare the new plan to the previous plan generated for the same infrastructure. Review the changes in the plan and verify that they are expected.
Run the pipeline: Once you have verified the new plan, run the pipeline on the new branch to deploy the changes.
Verify the changes: Verify that the changes have been applied as expected and that the infrastructure is functioning correctly.
Merge the branch: Once the changes have been verified and approved, merge the branch to the main branch.
These steps will help ensure that any plan alterations made to your infrastructure using Terraform are thoroughly tested and verified before they are deployed in a pipeline.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-05-12 11:00:00 +0000
Seen: 8 times
Last updated: Dec 27 '21
How can unstaged work be resolved in two working directories using Git?
How can you retrieve lost uncommitted changes using "git reset --hard"?
How can notifications for changes in nested properties of a Realm object be implemented?
What changes need to be made to this for loop to be suitable for use with Pandas, Modin, or Ray?