Changing the prefix of the ResourceTag condition to match the one specified in the ASG documentation

This commit is contained in:
Fabricio Toresan 2017-11-18 09:17:07 -02:00
parent d8e2ce211a
commit d4eef657d6
3 changed files with 3 additions and 3 deletions

View File

@ -661,7 +661,7 @@ func addMasterASPolicies(p *Policy, resource stringorslice.StringOrSlice, legacy
Resource: resource,
Condition: Condition{
"StringEquals": map[string]string{
"ec2:ResourceTag/KubernetesCluster": clusterName,
"autoscaling:ResourceTag/KubernetesCluster": clusterName,
},
},
},

View File

@ -75,7 +75,7 @@
],
"Condition": {
"StringEquals": {
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
"autoscaling:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
}
}
},

View File

@ -75,7 +75,7 @@
],
"Condition": {
"StringEquals": {
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
"autoscaling:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
}
}
},