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

Update DaemonRole permissions for Aurora snapshot backup script [ci skip] #28927

Merged
merged 1 commit into from Jun 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion aws/cloudformation/cloud_formation_stack.yml.erb
Expand Up @@ -612,14 +612,23 @@ Resources:
PolicyDocument:
Statement:
- Effect: Allow
Action: rds:DescribeDBInstances
Action:
- rds:DescribeDBInstances
- rds:DescribeDBClusters
- rds:DescribeDBClusterSnapshots
Resource: '*'
- Effect: Allow
Action: rds:DescribeDBSnapshots
Resource: !Sub "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:db:production"
- Effect: Allow
Action: rds:CopyDBSnapshot
Resource: !Sub "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:snapshot:rds:production-*"
- Effect: Allow
Action: rds:CopyDBClusterSnapshot
Resource: !Sub "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:cluster-snapshot:rds:<%=CDO.db_cluster_id%>*"
- Effect: Allow
Action: rds:ModifyDBClusterSnapshotAttribute
Resource: !Sub "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:cluster-snapshot:temp-snapshot*"
- Effect: Allow
Action:
- rds:CopyDBSnapshot
Expand Down