-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option -refresh=false seems not to be working anymore #27228
Comments
another use case for |
Thanks @sdickhoven! Looks like since the primary workflow is to apply from a plan, the Just a note about the second use-case you've presented; providers may need to make API calls to create a plan as well, so even without refresh, there is no way to guarantee that users can always create a plan successfully without API access. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
n/a
Debug Output
Crash Output
n/a
Expected Behavior
When option
-refresh=false
is used or env varTF_CLI_ARGS
(orTF_CLI_ARGS_apply
) is set to-refresh=false
then terraform should not do a refresh when runningterraform apply
.Actual Behavior
Terraform does a full-on state refresh.
Steps to Reproduce
Additional Context
We have some large configs (e.g. DNS, GitHub) that take 1hr+ to refresh state. We only do refreshes on those occasionally. So not having
-refresh=false
is kind of a show stopper for us.References
n/a
The text was updated successfully, but these errors were encountered: