-
Notifications
You must be signed in to change notification settings - Fork 834
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
Upgrade terraform provider for aaa Cluster #2008
Conversation
Upgrade terraform provider google to 3.1.0 from 2.14. Upgrade terraform version to 0.13.6. We accidently convert the terraform to a 0.13.x version when kubernetes#1974 was deployed. Signed-off-by: Arnaud Meukam <[email protected]>
Some fields or attributes of resources have changed in the version 3 of the provider. This force the `aaa` cluster to be recreated. We want to avoid this by setting static values of those fields. Signed-off-by: Arnaud Meukam <[email protected]>
/hold |
Changes expected are the removal of the region of the cluster and the node pools. : https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/version_3_upgrade#resource-google_container_cluster ]
project = "kubernetes-public"
- region = "us-central1" -> null
version = "1.17.17-gke.3000"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
My bad on converting state, I thought we were ready for that independent of the provider
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ameukam, spiffxp 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 |
No problem. The version control mechanism is not rigorous enough. I'll improve it in a followup PR. /hold cancel |
Upgrading terraform ref: #2020 |
Ref: #1403
First commit is needed because the terraform state got converted to 0.13 because of the deployment of #1974.
The second commit help migrate to the 3.x version of the terraform provider.
Signed-off-by: Arnaud Meukam [email protected]