Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation: iam requirement for autoscaling #1262

Merged
merged 1 commit into from
Nov 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/operations/storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ When using S3 as object storage, the following permissions are needed:
* `s3:PutObject`
* `s3:GetObject`

Resources: `arn:aws:s3:::<bucket_name>`, `arn:aws:s3:::<bucket_name>/*`

### DynamoDB

When using DynamoDB for the index, the following permissions are needed:
Expand All @@ -63,6 +65,36 @@ When using DynamoDB for the index, the following permissions are needed:
* `dynamodb:UpdateItem`
* `dynamodb:UpdateTable`

Resources: `arn:aws:dynamodb:<aws_region>:<aws_account_id>:table/<prefix>*`

#### AutoScaling

If you enable autoscaling from table manager, the following permissions are needed:

##### Deletion

* `dynamodb:DeleteTable`

Resources: `arn:aws:dynamodb:<aws_region>:<aws_account_id>:table/<prefix>*`

##### Application Autoscaling

* `dynamodb:ListTables`
* `application-autoscaling:DescribeScalableTargets`
* `application-autoscaling:DescribeScalingPolicies`
* `application-autoscaling:RegisterScalableTarget`
* `application-autoscaling:PutScalingPolicy`

Resources: `*`

##### IAM

* `iam:GetRole`
* `iam:PassRole`

Resources: `arn:aws:iam::<aws_account_id>:role/<role_name>`


## Chunk Format

```
Expand Down