mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
7 years ago
|
{# Not all Autoscaling API Actions allow specified resources #}
|
||
|
{# See http://docs.aws.amazon.com/autoscaling/latest/userguide/control-access-using-iam.html#policy-auto-scaling-resources #}
|
||
|
{
|
||
|
"Version": "2012-10-17",
|
||
|
"Statement": [
|
||
|
{
|
||
|
"Sid": "DescribeAutoscaling",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"autoscaling:DescribeAutoScalingGroups",
|
||
|
"autoscaling:DescribeLaunchConfigurations",
|
||
|
"autoscaling:DescribePolicies"
|
||
|
],
|
||
|
"Resource": "*"
|
||
|
},
|
||
|
{
|
||
|
"Sid": "AllowAutoscaling",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"autoscaling:CreateLaunchConfiguration",
|
||
|
"autoscaling:CreateAutoScalingGroup",
|
||
|
"autoscaling:UpdateAutoScalingGroup",
|
||
|
"autoscaling:DeleteAutoScalingGroup",
|
||
|
"autoscaling:DeleteLaunchConfiguration",
|
||
|
"autoscaling:PutScalingPolicy",
|
||
|
"autoscaling:DeletePolicy"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:autoscaling:{{aws_region}}:{{aws_account}}:*"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|