You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ terracognita version
The current version is: v0.6.4
Did you build Terracognita from sources or did you use the Docker image: brew install terracognita
Describe the bug:
The generated code for google_compute_instance contains the extraneous field networkInterfaces[0].accessConfigs[0].natIP which causes an issue when deploying
Log message
Error: Error creating instance: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0].accessConfigs[0].natIP': '34.91.94.74'. The specified external IP address '34.91.94.74' was not found in region 'europe-west4'., invalid
on resources.tf line 25, in resource "google_compute_instance" "ZipaG":
25: resource "google_compute_instance" "ZipaG" {
When this field is removed, terraform apply is successful.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: