When running make tre-deploy in succession terraform updates/replaces resources that have not changed.
See original GitHub issueDescribe the bug Each time run make tre-deploy terraform updates/replaces resources unnecessarily.
Steps to reproduce
- Deploy TRE with
make
- Re run `‘make tre-deploy’ and monitor terraform output.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Update/replace resource when a dependency is changed #8099
In Terraform's design, a dependency edge (which is what depends_on creates explicitly) is used only for ordering operations. So in the very ...
Read more >Zero Downtime Updates with HashiCorp Terraform
In this post, we are going to look at two simple features in Terraform that allow us to avoid downtime caused by updates...
Read more >Terraform Apply? When External Change Happens.
When a plan file is passed to apply , Terraform does not perform a refresh. This means that changes made to managed resources...
Read more >Continuous Infrastructure Deployment with Terraform Cloud
This policy, which is applied to a plan output via the tfplan/v2 import, filters through all resource changes for actions that are “create”...
Read more >SweetOps #terraform for April, 2022
Are you running terraform from this directory or from the ... to force a replacing update on a resource when there are changes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s an occurrence:
I’m going to close this as the remaining work is tracked in https://github.com/microsoft/AzureTRE/issues/1161