-
Notifications
You must be signed in to change notification settings - Fork 1.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
Error on plan for google_compute_region_instance_group_manager from docs - insufficient items for attribute "version" #4169
Comments
Could be an instance of: hashicorp/terraform-provider-aws#8982 |
I'm not seeing this issue locally. I attempted to repro with your config, as well as the following: resource "google_compute_region_instance_group_manager" "teletracker_backend_instance_group_manager" {
provider = "google-beta"
name = "teletracker-api-${var.env}"
base_instance_name = "teletracker-api"
region = "us-east1"
target_size = 1
version {
name = "teletracker-api-${var.env}-main"
instance_template = "${google_compute_instance_template.teletracker_backend_instance_template.self_link}"
}
} I'll track the upstream issue to see if this is due to something on the provider side, and close this out if it's not looking like it is. |
Actually, I'm able to repro based on hashicorp/terraform-provider-aws#9048 (comment). Running
It's required in the If you clear the resource from state with |
Ah yes, that was exactly it! Thank you! |
Great, glad to hear! Since there's no provider-side resolution other than waiting until hashicorp/terraform#22387 is fixed, I'm going to close this out. |
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! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/chrisbenincasa/645252d3546c4a8609e8189629fc8e11
Expected Behavior
The plan should have succeeded.
Actual Behavior
The plan fails with:
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered: