-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Perma-diff in google_app_engine_flexible_app_version #10143
Comments
@courteouselk can you share the debug log for the initial apply? |
@courteouselk instead of |
@edwardmedia yes, thanks. Indeed, with However, this sounds more like a workaround rather than an ultimate solution. Since the API does return the "converted" image like: "deployment": {
"container": {
"image": "gcr.io/redacted/redacted@sha256:2ae33007ea151192eff852f32cfe30ca7acaaa9f43deb1d3e61d31a195120e43"
}
}, ... wouldn't it be possible for the provider to save that in the state? So that it does not detect a diff if the |
@courteouselk I agreed this is not the best solution. To your suggestion, my guess is not. The diff occurs between what you configured and what is returned from api. We can't change either side. A lot of times we can suppress the diff if there is a pattern between two. But in this case, it is not clear. The best solution is api should return what we send (clearly api accepts both formats) but unfortunately we don't have control over it. I am closing this issue. You may reopen or file another issue if you don't agree. |
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Once
terraform apply
had successfuly ran, the ensuingterraform plan
should detect zero deltas.Actual Behavior
Instead, the following plan is generated (after a successful
terraform apply
):Steps to Reproduce
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered: