Open
Description
Community Note
Output from terraform plan
:
# google_compute_region_network_endpoint_group.cloudrun_neg will be created
+ resource "google_compute_region_network_endpoint_group" "cloudrun_neg" {
+ id = (known after apply)
+ name = "***"
+ network_endpoint_type = "SERVERLESS"
+ project = "***"
+ region = "australia-southeast2"
+ self_link = (known after apply)
+ cloud_run {
+ service = "***"
}
+ psc_data (known after apply)
}
Output from terraform import google_compute_region_network_endpoint_group.cloudrun_neg ***
:
google_compute_region_network_endpoint_group.cloudrun_neg: Importing from ID "***"...
google_compute_region_network_endpoint_group.cloudrun_neg: Import prepared!
Prepared google_compute_region_network_endpoint_group for import
google_compute_region_network_endpoint_group.cloudrun_neg: Refreshing state... [id=projects/***/regions/australia-southeast1/networkEndpointGroups/***]
╷
│ Error: Cannot import non-existent remote object
│
│ While attempting to import an existing object to "google_compute_region_network_endpoint_group.cloudrun_neg", the provider detected that no object exists with the given id. Only pre-existing objects can be
│ imported; check that the id is correct and that it is associated with the provider's configured region or endpoint, or use "terraform apply" to create a new remote object for this resource.
╵
Seemed to be reading from provider "google-beta" { region = ... }
Terraform Version & Provider Version(s)
Terraform v1.11.0
on macosx
- provider registry.terraform.io/hashicorp/google v6.8.0
- provider registry.terraform.io/hashicorp/google-beta v6.24.0
Affected Resource(s)
google_compute_region_network_endpoint_group
Terraform Configuration
Debug Output
No response
Expected Behavior
No response
Actual Behavior
No response
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response