-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
generate compute instance and subnetwork iam #4866
Conversation
9346bcb
to
804ba8a
Compare
Signed-off-by: Modular Magician <[email protected]>
804ba8a
to
21cee3d
Compare
Due to the lack of a changelog entry for this PR, we hit issues. Would be a good idea to add that this is a breaking change to the CHANGELOG... Our release process always uses the latest version of the providers. This new version changed the For example: Without upgrading the provider, running a plan using the old provider returned the following error:
|
Hi @david-walker-gfs, thanks for bringing that to my attention! It didn't occur to me that that would be a user-visible change. I'll add that to the CHANGELOG. Out of curiosity, what does your config look like? Were you interpolating the value of subnetwork in a different resource? |
Thanks! We had to hardcode the subnetwork as a local since the subnets are handled by our network team and not visible to us directly. I'm working on getting it exposed as an output from their project but we're a little bit from doing that. |
Sure, but this change should have made it possible for you to pass in any value of subnetwork to this resource. As you said, it's the value in state that changed. I also don't quite understand your statement of "without upgrading the provider"- can you clarify what resources are in your config, what you changed (if anything), and whether the error occurs before or after you upgraded the provider to include this change? |
The issue was that for us, our Jenkins builds always download the latest minor release of a provider whereas locally, when we run plans, we may not always have the version of the provider that was used by our Jenkins builds. So running a plan locally failed. But not with an useful information. It doesn't look like the tfstate files contain any information about the provider that was used to build it so it might not be possible to throw a warning to the user. After running a |
Got it. Anyway, CHANGELOG is now up-to-date (and your posts made me realize we hadn't pushed the 3.0.0-beta.1 changelog over to the master branch, so thanks for that too!) |
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! |
Original Author: @danawillow