6 ms·
Iterate over all S3 buckets in your terraform files and add `force_destroy` to them [1], then apply and destroy. There could probably be an automated tool for
by ralphist 3y ago
Iterate over all S3 buckets in your terraform files and add `force_destroy` to them [1], then apply and destroy.
There could probably be an automated tool for this that wouldn't be too complex.
[1] https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#force_destroy https://registry.terraform.io/providers/hashicorp/aws/latest...