-
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
GKE: min_master_version is empty #2348
Comments
Hey @paolomainardi, I'm going to go ahead and mark this as blocked by upstream terraform. When a resource is imported, the code only has access to the id that it was imported with and not any information that was in the config. This means that at import time, we can't see the min_master_version that you set in your config. And although we could potentially set it based on the version upstream, we would have to do that in the read function (which isn't import specific), which would defeat the purpose of the field in the first place (see #577) |
Ok thanks a lot for the explanation @danawillow |
From just looking at the code, I don't think anything will happen. If you want to be extra sure though, you could spin up a small test cluster and import it and see what happens on the next run. |
This is reconciled to the best of the provider's current ability by documenting the behaviour at https://www.terraform.io/docs/providers/google/r/container_cluster.html#min_master_version-1. |
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
The
min_master_version
should not be empty as it is already on1.10.7-gke.6
Actual Behavior
The
min_master_version
is showed as empty.Steps to Reproduce
terraform import
The text was updated successfully, but these errors were encountered: