-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
External provider stores full path to command in state file causing thrash when executing on different machines #10777
Comments
Hi @lopopolo. Sorry for this surprising behavior. This is a specific case of the issue described in #7927, namely that using Our best workaround for now is to use the I'm going to close this to consolidate discussion in #7927, but thanks for taking the time to file this issue! |
In case anyone tries to use ignore_changes, lifecycle blocks don't seem to work on data sources like external |
Looking at this again, it occurs to me that the full path being in the state is a little confusing but in most cases should be harmless: since this is a data resource, Terraform will refresh it for each My previous comment about |
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 v0.8.1
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
What should have happened?
Terraform stores path relative to terraform root in state file
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: