Remove unneeded try
This commit is contained in:
parent
46f4d22c87
commit
34b37a0dc2
|
@ -120,8 +120,7 @@ resource "google_apigee_instance_attachment" "instance_attachments" {
|
|||
}
|
||||
}])...)
|
||||
instance_id = google_apigee_instance.instances[each.value.region].id
|
||||
environment = try(google_apigee_environment.environments[each.value.environment].name,
|
||||
"${local.org_id}/environments/${each.value.environment}")
|
||||
environment = google_apigee_environment.environments[each.value.environment].name
|
||||
}
|
||||
|
||||
resource "google_apigee_endpoint_attachment" "endpoint_attachments" {
|
||||
|
|
Loading…
Reference in New Issue