Last active
June 14, 2020 15:02
-
-
Save bharatmicrosystems/43ac2d540534bbd2ce7192ecf1f5c473 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ terraform destroy -var 'env=dev' | |
| random_id.tf_bucket_id: Refreshing state... [id=OkE] | |
| aws_s3_bucket.tf_code: Refreshing state... [id=ga-terraform-dev-14913] | |
| 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: | |
| # aws_s3_bucket.tf_code will be destroyed | |
| - resource "aws_s3_bucket" "tf_code" { | |
| - acl = "private" -> null | |
| - arn = "arn:aws:s3:::ga-terraform-dev-14913" -> null | |
| - bucket = "ga-terraform-dev-14913" -> null | |
| - bucket_domain_name = "ga-terraform-dev-14913.s3.amazonaws.com" -> null | |
| - bucket_regional_domain_name = "ga-terraform-dev-14913.s3.amazonaws.com" -> null | |
| - force_destroy = true -> null | |
| - hosted_zone_id = "Z3AQBSTGFYJSTF" -> null | |
| - id = "ga-terraform-dev-14913" -> null | |
| - region = "us-east-1" -> null | |
| - request_payer = "BucketOwner" -> null | |
| - tags = { | |
| - "Name" = "tf_bucket" | |
| } -> null | |
| - versioning { | |
| - enabled = false -> null | |
| - mfa_delete = false -> null | |
| } | |
| } | |
| # random_id.tf_bucket_id will be destroyed | |
| - resource "random_id" "tf_bucket_id" { | |
| - b64 = "OkE" -> null | |
| - b64_std = "OkE=" -> null | |
| - b64_url = "OkE" -> null | |
| - byte_length = 2 -> null | |
| - dec = "14913" -> null | |
| - hex = "3a41" -> null | |
| - id = "OkE" -> null | |
| } | |
| Plan: 0 to add, 0 to change, 2 to destroy. | |
| Do you really want to destroy all resources in workspace "dev"? | |
| 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 | |
| aws_s3_bucket.tf_code: Destroying... [id=ga-terraform-dev-14913] | |
| aws_s3_bucket.tf_code: Destruction complete after 6s | |
| random_id.tf_bucket_id: Destroying... [id=OkE] | |
| random_id.tf_bucket_id: Destruction complete after 0s | |
| Destroy complete! Resources: 2 destroyed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment