Skip to content
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

google_compute_url_map: Provider produced inconsistent final plan #8070

Closed
yegle opened this issue Dec 23, 2020 · 7 comments
Closed

google_compute_url_map: Provider produced inconsistent final plan #8070

yegle opened this issue Dec 23, 2020 · 7 comments
Assignees
Labels

Comments

@yegle
Copy link

yegle commented Dec 23, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to the 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 to hashibot, a community member has claimed the issue already.

Terraform Version

$ tf version
Terraform v0.14.3
+ provider registry.terraform.io/hashicorp/google v3.51.0
+ provider registry.terraform.io/hashicorp/google-beta v3.51.0
+ provider registry.terraform.io/hashicorp/local v2.0.0
+ provider registry.terraform.io/hashicorp/null v3.0.0
+ provider registry.terraform.io/hashicorp/random v2.3.1

Affected Resource(s)

  • google_compute_url_map

Terraform Configuration Files

https://github.com/google/exposure-notifications-server/tree/main/terraform

Debug Output

https://gist.github.com/000ecf600530d56e132d6aa6d60a41a6

Panic Output

Expected Behavior

terraform apply finishes without error.

Actual Behavior

Error: Provider produced inconsistent final plan

When expanding the plan for module.en.google_compute_url_map.urlmap-https[0]
to include new values learned so far during apply, provider
"registry.terraform.io/hashicorp/google-beta" produced an invalid new value
for .map_id: was cty.NumberIntVal(2.085541984016382821e+18), but now
cty.NumberIntVal(2.0855419840163827e+18).

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

Steps to Reproduce

Modify exposure_hosts variable to the module and run terraform apply.

Important Factoids

References

@ghost ghost added bug labels Dec 23, 2020
@yegle
Copy link
Author

yegle commented Dec 23, 2020

I was able to return back to normal by destroying module.en.google_compute_url_map.urlmap-https[0] and re-run terraform apply.

@edwardmedia edwardmedia self-assigned this Dec 23, 2020
@edwardmedia
Copy link
Contributor

@yegle can you isolate which resource or data source has issues?

@yegle
Copy link
Author

yegle commented Dec 23, 2020

I think it's module.en.google_compute_url_map.urlmap-https[0] that was causing issue.

@ghost ghost removed the waiting-response label Dec 23, 2020
@edwardmedia
Copy link
Contributor

@yegle your config is too broad. Can you run the google_compute_url_map to see if you can repro the issue? Remove the module code, and hardcode the variables, etc. Those things are out of this site focus.

@yegle
Copy link
Author

yegle commented Dec 23, 2020

I can no longer reproduce the issue on my end as I've destroyed the resource and recreate.

@ghost ghost removed the waiting-response label Dec 23, 2020
@edwardmedia
Copy link
Contributor

@yegle closing the issue then. Feel free to reopen if you can repro it

@ghost
Copy link

ghost commented Jan 25, 2021

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Jan 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants