Created
July 13, 2017 23:53
-
-
Save Vince-Cercury/f9857fe601c6fdcb0d3d1526f75fe233 to your computer and use it in GitHub Desktop.
flex-etcd-iam error IAM roles
This file contains 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
IAMRoleEtcd: | |
Properties: | |
RoleName: 'kube-etcd-role' | |
AssumeRolePolicyDocument: | |
Statement: | |
- Action: | |
- sts:AssumeRole | |
Effect: Allow | |
Principal: | |
Service: | |
- ec2.amazonaws.com | |
Version: '2012-10-17' | |
Path: "/" | |
Policies: | |
- PolicyDocument: | |
Statement: | |
- Action: kms:Decrypt | |
Effect: Allow | |
Resource: | |
!ImportValue 'kms:key:assn:nonprod' | |
- Action: ec2:DescribeTags | |
Effect: Allow | |
Resource: "*" | |
- Action: ec2:DescribeVolumes | |
Effect: Allow | |
Resource: "*" | |
- Action: ec2:AttachVolume | |
Effect: Allow | |
Resource: "*" | |
- Action: ec2:DescribeVolumeStatus | |
Effect: Allow | |
Resource: "*" | |
- Action: ec2:AssociateAddress | |
Effect: Allow | |
Resource: "*" | |
- Effect: Allow | |
Action: | |
- s3:* | |
Resource: | |
!Sub 'arn:aws:s3:::assn-kube-*/*' | |
- Action: ec2:DescribeInstances | |
Resource: "*" | |
Effect: Allow | |
Version: '2012-10-17' | |
PolicyName: root | |
Type: AWS::IAM::Role |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment