-
Notifications
You must be signed in to change notification settings - Fork 4.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
some resources upgraded to google provider 3.0 #8103
some resources upgraded to google provider 3.0 #8103
Conversation
Hi @mccare. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test These changes appear backwards compatible with the 2.X provider version, so it appears to be safe though I don't use GCE + terraform so I can't test it myself. Travis CI is complaining that you need to run |
a0d4bc9
to
ddc0879
Compare
Did run |
One more thing, it might be a good idea to add a version requirement to the provider definition so that users dont accidentally use 2.X. It should just be a matter of adding a kops/upup/pkg/fi/cloudup/terraform/target.go Lines 192 to 199 in ddc0879
https://www.terraform.io/docs/configuration/providers.html#provider-configuration |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, mccare The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
And @rifelpet is right, sorry I overlooked that comment. I'll send a PR to implement it! |
There were some incompatible changes made in version 3 of the GCE provider, so we specify a minimum version to make version mismatches more obvious. As suggested in kubernetes#8103
Upgraded some google cloud terraform resources to fit google cloud provider 3.0
See also https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html
Btw, syntax is still terraform 0.11 and needs to be transformed with terraform 0.12upgrade