Adding missing permission.

Also, force auto_destroy when cleaning up s3.
This commit is contained in:
2022-02-19 17:20:02 +01:00
parent 1425c98072
commit af58173f61
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ resource "aws_s3_bucket" "terraform_state" {
# lifecycle {
# prevent_destroy = true
# }
force_destroy = true
versioning {
enabled = true