-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bugSomething isn't workingSomething isn't workingp0-criticalMax priority (ASAP)Max priority (ASAP)resource-taskiterative_task TF resourceiterative_task TF resource
Description
$ terraform destroy
iterative_task.example: Refreshing state... [id=tpi-3bg74gngtmo6-5ptcn2n2-1gxk844q]
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:
# iterative_task.example will be destroyed
- resource "iterative_task" "example" {
- addresses = [
- "13.56.76.109",
] -> null
- cloud = "aws" -> null
- disk_size = 30 -> null
- events = [
- <<-EOT
2022-03-23 03:13:09: PreInService
At 2022-03-23T03:12:56Z a user request update of AutoScalingGroup constraints to min: 0, max: 1, desired: 1 changing the desired capacity from 0 to 1. At 2022-03-23T03:13:06Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.
Launching a new EC2 instance: i-055a3307aa2733e23
{"Subnet ID":"subnet-06cf5660","Availability Zone":"us-west-1c"}
EOT,
] -> null
- id = "tpi-3bg74gngtmo6-5ptcn2n2-1gxk844q" -> null
- image = "ubuntu" -> null
- logs = [] -> null
- machine = "m" -> null
- parallelism = 1 -> null
- region = "us-west-1" -> null
- script = <<-EOT
#!/bin/bash
mkdir results
echo "Hello World!" > results/greeting.txt
EOT -> null
- spot = 0 -> null
- ssh_private_key = (sensitive value)
- ssh_public_key = (sensitive value)
- status = {
- "running" = 1
} -> null
- timeout = 86400 -> null
- storage {
- output = "results" -> null
- workdir = "." -> null
}
}
Plan: 0 to add, 0 to change, 1 to destroy.
Do you really want to destroy all resources?
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
iterative_task.example: Destroying... [id=tpi-3bg74gngtmo6-5ptcn2n2-1gxk844q]
╷
│ Error: operation error S3: DeleteBucket, https response error StatusCode: 409, RequestID: H66JDZG33CFFCANJ, HostID: 8l5+btMUz6Emab4M+mdZIZdxVthvvkx36sxJfpv835VVBwGvPGiwHDXVeFRVn0CJHKV4hlqNhIY=, api error BucketNotEmpty: The bucket you tried to delete is not empty
│
│
╵
But I can't reproduce this /CC @tapadipti @alex000kim 🤔
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp0-criticalMax priority (ASAP)Max priority (ASAP)resource-taskiterative_task TF resourceiterative_task TF resource