Created
November 7, 2016 16:05
-
-
Save JohnPreston/fcc9c21caa22ded1ac17610ae3f26f7f to your computer and use it in GitHub Desktop.
IAM Policy for the SpotManager role as discussed on johnpreston.ews-network.net
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1476739808000", | |
"Effect": "Allow", | |
"Action": [ | |
"autoscaling:DescribeAutoScalingGroups", | |
"autoscaling:DescribeAutoScalingInstances", | |
"autoscaling:DescribeLaunchConfigurations", | |
"autoscaling:DescribePolicies", | |
"autoscaling:DescribeTags", | |
"autoscaling:ExecutePolicy" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Sid": "Stmt1476739866000", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DescribeInstanceStatus", | |
"ec2:DescribeInstances", | |
"ec2:DescribeSpotInstanceRequests", | |
"ec2:DescribeSpotPriceHistory", | |
"ec2:DescribeSubnets", | |
"ec2:DescribeTags" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Sid": "Stmt1476740536000", | |
"Effect": "Allow", | |
"Action": [ | |
"cloudformation:DescribeStackResource", | |
"cloudformation:DescribeStackResources", | |
"cloudformation:DescribeStacks" | |
], | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment