Skip to content

Instantly share code, notes, and snippets.

@kodelint
Created March 29, 2022 01:13
Show Gist options
  • Save kodelint/12fbb39c11ce956f03ebcd0f24d626ed to your computer and use it in GitHub Desktop.
Save kodelint/12fbb39c11ce956f03ebcd0f24d626ed to your computer and use it in GitHub Desktop.
Autotf Resource Destroy
INFO 2022-03-28 18:13:07 will run terraform init, plan -destory on [autotf-testing01.destroy]
Initializing the backend...
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Using previously-installed hashicorp/aws v4.8.0
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Acquiring state lock. This may take a few moments...
aws_s3_bucket.bucket: Refreshing state... [id=autotf-testing01]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# aws_s3_bucket.bucket will be destroyed
- resource "aws_s3_bucket" "bucket" {
- acl = "private" -> null
- arn = "arn:aws:s3:::autotf-testing01" -> null
- bucket = "autotf-testing01" -> null
- bucket_domain_name = "autotf-testing01.s3.amazonaws.com" -> null
- bucket_regional_domain_name = "autotf-testing01.s3.amazonaws.com" -> null
- cors_rule = [] -> null
- force_destroy = false -> null
- grant = [] -> null
- hosted_zone_id = "Z3AQBSTGFYJSTF" -> null
- id = "autotf-testing01" -> null
- lifecycle_rule = [] -> null
- logging = [] -> null
- object_lock_enabled = false -> null
- region = "us-east-1" -> null
- replication_configuration = [] -> null
- request_payer = "BucketOwner" -> null
- server_side_encryption_configuration = [] -> null
- tags = {
- "Environment" = "Dev"
- "Name" = "autotf-testing01"
} -> null
- tags_all = {
- "Environment" = "Dev"
- "Name" = "autotf-testing01"
} -> null
- versioning = [
- {
- enabled = false
- mfa_delete = false
},
] -> null
- website = [] -> null
}
Plan: 0 to add, 0 to change, 1 to destroy.
Changes to Outputs:
- bucket_name = "autotf-testing01" -> null
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now.
Releasing state lock. This may take a few moments...
Acquiring state lock. This may take a few moments...
aws_s3_bucket.bucket: Refreshing state... [id=autotf-testing01]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# aws_s3_bucket.bucket will be destroyed
- resource "aws_s3_bucket" "bucket" {
- acl = "private" -> null
- arn = "arn:aws:s3:::autotf-testing01" -> null
- bucket = "autotf-testing01" -> null
- bucket_domain_name = "autotf-testing01.s3.amazonaws.com" -> null
- bucket_regional_domain_name = "autotf-testing01.s3.amazonaws.com" -> null
- cors_rule = [] -> null
- force_destroy = false -> null
- grant = [] -> null
- hosted_zone_id = "Z3AQBSTGFYJSTF" -> null
- id = "autotf-testing01" -> null
- lifecycle_rule = [] -> null
- logging = [] -> null
- object_lock_enabled = false -> null
- region = "us-east-1" -> null
- replication_configuration = [] -> null
- request_payer = "BucketOwner" -> null
- server_side_encryption_configuration = [] -> null
- tags = {
- "Environment" = "Dev"
- "Name" = "autotf-testing01"
} -> null
- tags_all = {
- "Environment" = "Dev"
- "Name" = "autotf-testing01"
} -> null
- versioning = [
- {
- enabled = false
- mfa_delete = false
},
] -> null
- website = [] -> null
}
Plan: 0 to add, 0 to change, 1 to destroy.
Changes to Outputs:
- bucket_name = "autotf-testing01" -> null
aws_s3_bucket.bucket: Destroying... [id=autotf-testing01]
aws_s3_bucket.bucket: Destruction complete after 0s
Releasing state lock. This may take a few moments...
Destroy complete! Resources: 1 destroyed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment