Adding missing permission.
Also, force auto_destroy when cleaning up s3.
This commit is contained in:
parent
1425c98072
commit
af58173f61
@ -18,6 +18,11 @@ Permissions required:
|
||||
* AmazonVPCFullAccess
|
||||
* AmazonEKSServicePolicy
|
||||
|
||||
To save state, those extras are needed:
|
||||
|
||||
* AmazonS3FullAccess
|
||||
* AmazonDynamoDBFullAccess
|
||||
|
||||
Required policy:
|
||||
|
||||
```json
|
||||
|
@ -4,6 +4,7 @@ resource "aws_s3_bucket" "terraform_state" {
|
||||
# lifecycle {
|
||||
# prevent_destroy = true
|
||||
# }
|
||||
force_destroy = true
|
||||
|
||||
versioning {
|
||||
enabled = true
|
||||
|
Reference in New Issue
Block a user