Open FredericHeem opened 3 years ago
For what I can see this is "valid", you can set that value https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance#nat_ip so it's not an issue that we are setting an Attribute
(https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance#attributes-reference). I was just checking and discarding things hehe.
The issue is that the value is "invalid" but that value was returned from the API so it was read from Google. IDK how we are reading a value that is "invalid", is it possible that something else is invalid/missing on the google_compute_instance
so terraform apply
cannot make the right link?
General information:
brew install terracognita
Describe the bug:
The generated code for
google_compute_instance
contains the extraneous fieldnetworkInterfaces[0].accessConfigs[0].natIP
which causes an issue when deployingLog message
When this field is removed,
terraform apply
is successful.