Merge pull request #31792 from mferraroni/doc-s3-fix

Modifies permissions needed to use s3 with dynamoDb locks
This commit is contained in:
Laura Pacilio 2022-10-25 11:15:54 -04:00 committed by GitHub
commit 20b3e8e5a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ documentation about
If you are using state locking, Terraform will need the following AWS IAM If you are using state locking, Terraform will need the following AWS IAM
permissions on the DynamoDB table (`arn:aws:dynamodb:::table/mytable`): permissions on the DynamoDB table (`arn:aws:dynamodb:::table/mytable`):
* `dynamodb:DescribeTable`
* `dynamodb:GetItem` * `dynamodb:GetItem`
* `dynamodb:PutItem` * `dynamodb:PutItem`
* `dynamodb:DeleteItem` * `dynamodb:DeleteItem`
@ -89,6 +90,7 @@ This is seen in the following AWS IAM Statement:
{ {
"Effect": "Allow", "Effect": "Allow",
"Action": [ "Action": [
"dynamodb:DescribeTable",
"dynamodb:GetItem", "dynamodb:GetItem",
"dynamodb:PutItem", "dynamodb:PutItem",
"dynamodb:DeleteItem" "dynamodb:DeleteItem"