You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Love the -refresh=false option on terraform plan, as it allows us to skip refresh and significantly speed up plans when we know out of band changes are unlikely (e.g. we just ran another plan and apply a few minutes ago).
However, we also have cases for specific resources where we almost never care about out-of-band changes. It would be nice to skip refresh on these permanently, without having to decide on a run-by-run basis, and without having to also skip refresh on all the other resources in the repo.
Any chance of getting the equivalent of "refresh=false" as a resource meta-argument? Module meta-argument would be great too.
Attempted Solutions
-refresh=false for the entire plan. But then we periodically need to run with -refresh=true or -refresh-only to pick up out of band changes on other resources in the same code
ignore-changes meta-arguent on the resource, but this still spends time checking for, and reports on, out-of-band changes for resources where we do not need to know
Proposal
refresh meta-argument settable to true/false
References
No response
The text was updated successfully, but these errors were encountered:
So for aws alb the refresh is very slow, it would be nice to have a cache time so we can cache the results for a bit based on the cost of querying them in an adaptive manner.
Terraform Version
Use Cases
Love the -refresh=false option on terraform plan, as it allows us to skip refresh and significantly speed up plans when we know out of band changes are unlikely (e.g. we just ran another plan and apply a few minutes ago).
However, we also have cases for specific resources where we almost never care about out-of-band changes. It would be nice to skip refresh on these permanently, without having to decide on a run-by-run basis, and without having to also skip refresh on all the other resources in the repo.
Any chance of getting the equivalent of "refresh=false" as a resource meta-argument? Module meta-argument would be great too.
Attempted Solutions
-refresh=false for the entire plan. But then we periodically need to run with -refresh=true or -refresh-only to pick up out of band changes on other resources in the same code
ignore-changes meta-arguent on the resource, but this still spends time checking for, and reports on, out-of-band changes for resources where we do not need to know
Proposal
refresh meta-argument settable to true/false
References
No response
The text was updated successfully, but these errors were encountered: