Skip to content

Commit

Permalink
adding iam access for autoscaling configuration (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
eraac authored and cyriltovena committed Nov 26, 2019
1 parent d52d2cc commit c4234e0
Showing 1 changed file with 32 additions and 0 deletions.
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

0 comments on commit c4234e0

Please sign in to comment.