-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix Provider returned invalid result object after apply
errors
#1363
Conversation
Does the API 100% guarantee that all configured values are exactly preserved? If not, Terraform can/will start throwing data consistency errors if any planned value changes during apply. |
Not it doesn't, and I discovered that pretty quickly when testing with IAM policy documents. |
The problem with unknown values not being populated in e.g. #960 is caused by the logic that copies current resource state to Terraform state being unable to match (and then overwrite) |
Provider returned invalid result object after apply
errors
Provider returned invalid result object after apply
errorsProvider returned invalid result object after apply
errors
Community Note
Fixes
Provider returned invalid result object after apply
errors on Create for numerous resources.This error was caused by unknown values being present in state after the resource was successfully created. In particular, unknown values in
SetNestedAttribute
s were not being populated from the resource's current (post-creation) state.Closes #960.
Closes #1280.
Closes #1279.
Closes #1039.
Closes #811.
Closes #799.
Closes #719.
Closes #545.