-
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
Import google_compute_network_peering
resources fails for global networks
#9829
Comments
I think the problem is probably here:
/global/ in the network name?
|
@mans0954 can you try something like below? resource "google_compute_network_peering" "mongo-atlas" {
}
|
@edwardmedia Thanks. Same response as before:
|
@mans0954 do you have
|
This works!
Thank you! |
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_compute_network_peering
Terraform Configuration Files
Debug Output
Panic Output
╵
Expected Behavior
I was expecting the
mongo-atlas-vpc-peering
peering to be imported to thegoogle_compute_network_peering.mongo-atlas mongo-atlas-vpc-peering
resource and theredis-labs-vpc-peering
peering to be imported to thegoogle_compute_network_peering.redis-labs
resource.Actual Behavior
The resources are not imported due to the error above.
Steps to Reproduce
terraform import
Important Factoids
The external networks are formatted as follows:
References
The text was updated successfully, but these errors were encountered: