Created
October 26, 2017 14:45
-
-
Save arutnik/5d3b7212863fd4f796d5b47db6904857 to your computer and use it in GitHub Desktop.
EBS Backup IAM Role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EBSSnapshotRole: | |
Type: AWS::IAM::Role | |
Properties: | |
AssumeRolePolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Principal: | |
Service: automation.amazonaws.com | |
Action: | |
- sts:AssumeRole | |
Path: / | |
Policies: | |
- PolicyName: root | |
PolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Action: | |
- "ec2:Describe*" | |
- "ec2:RebootInstances" | |
- "ec2:StopInstances" | |
- "ec2:TerminateInstances" | |
- "ec2:CreateSnapshot" | |
Resource: '*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment