Attaching multiple instances to the same ApigeeEnvironment will fail #11445
Labels
persistent-bug
Hard to diagnose or long lived bugs for which resolutions are more like feature work than bug work
size/s
Milestone
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
Terraform 0.12.29
Google Provider Version: 4.15.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Successfully attach both instances.
Actual Behavior
...
2022-04-06T02:26:30.248Z [INFO] provider.terraform-provider-google_v4.16.0_x5: 2022/04/06 02:26:30 [DEBUG] Unlocking "organizations/my-apigee-x-org/instances/us-west1": timestamp=2022-04-06T02:26:30.248Z
2022-04-06T02:26:30.248Z [INFO] provider.terraform-provider-google_v4.16.0_x5: 2022/04/06 02:26:30 [DEBUG] Unlocked "organizations/my-apigee-x-org/instances/us-west1": timestamp=2022-04-06T02:26:30.248Z
[0m [1mgoogle_apigee_instance_attachment.dev-us-west1: Creation complete after 22s [id=organizations/my-apigee-x-org/instances/us-west1/attachments/dd9a81d9-80a2-4044-b6e5-f4ee1c874a55] [0m
[31m╷ [0m [0m
[31m│ [0m [0m [1m [31mError: [0m [0m [1mError creating InstanceAttachment: googleapi: Error 400: the resource is locked by another operation: 4dcff6d5-b825-4d26-a2f6-cbf4238fb07a
[31m│ [0m [0mDetails:
[31m│ [0m [0m[
[31m│ [0m [0m {
[31m│ [0m [0m "@type": "type.googleapis.com/google.rpc.RequestInfo",
[31m│ [0m [0m "requestId": "8212706593325358256"
[31m│ [0m [0m }
[31m│ [0m [0m] [0m
[31m│ [0m [0m
[31m│ [0m [0m [0m with google_apigee_instance_attachment.dev-australia-southeast1,
[31m│ [0m [0m on main.tf line 1, in resource "google_apigee_instance_attachment" "dev-australia-southeast1":
[31m│ [0m [0m 1: resource "google_apigee_instance_attachment" "dev-australia-southeast1" [4m{ [0m [0m
[31m│ [0m [0m
[31m╵ [0m [0m
Steps to Reproduce
terraform apply
References
* #10525
The text was updated successfully, but these errors were encountered: