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
$ terraform destroy
google_compute_router.test_router_peering: Refreshing state... (ID: europe-west4/test-router-peering)
google_compute_interconnect_attachment.test-peering-attachment: Refreshing state... (ID: test-peering-attachment)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
- google_compute_interconnect_attachment.test-peering-attachment
- google_compute_router.test_router_peering
Plan: 0 to add, 0 to change, 2 to destroy.
Do you really want to destroy?
Terraform will destroy all your managed infrastructure, as shown above.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
google_compute_interconnect_attachment.test-peering-attachment: Destroying... (ID: test-peering-attachment)
google_compute_interconnect_attachment.test-peering-attachment: Still destroying... (ID: test-peering-attachment, 10s elapsed)
google_compute_interconnect_attachment.test-peering-attachment: Destruction complete after 13s
google_compute_router.test_router_peering: Destroying... (ID: europe-west4/test-router-peering)
google_compute_router.test_router_peering: Still destroying... (ID: europe-west4/test-router-peering, 10s elapsed)
google_compute_router.test_router_peering: Destruction complete after 12s
Destroy complete! Resources: 2 destroyed.
Checking the attachment has been destroyed
$ gcloud compute interconnects attachments describe test-peering-attachment --region=europe-west4
ERROR: (gcloud.compute.interconnects.attachments.describe) Could not fetch resource:
- The resource 'projects/my-project/regions/europe-west4/interconnectAttachments/test-peering-attachment' was not found