mirror of https://github.com/kubernetes/kops.git
Use sets for ebscsidriver permissions
This commit is contained in:
parent
d8bf4dcae1
commit
19833e6b73
|
|
@ -36,7 +36,7 @@ func (r *ServiceAccount) BuildAWSPolicy(b *iam.PolicyBuilder) (*iam.Policy, erro
|
||||||
p := iam.NewPolicy(clusterName)
|
p := iam.NewPolicy(clusterName)
|
||||||
|
|
||||||
addSnapshotControllerPermissions := b.Cluster.Spec.SnapshotController != nil && fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled)
|
addSnapshotControllerPermissions := b.Cluster.Spec.SnapshotController != nil && fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled)
|
||||||
iam.AddAWSEBSCSIDriverPermissions(p, b.Cluster.ObjectMeta.Name, addSnapshotControllerPermissions)
|
iam.AddAWSEBSCSIDriverPermissions(p, addSnapshotControllerPermissions)
|
||||||
|
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -317,9 +317,7 @@ func (r *NodeRoleMaster) BuildAWSPolicy(b *PolicyBuilder) (*Policy, error) {
|
||||||
resource := createResource(b)
|
resource := createResource(b)
|
||||||
clusterName := b.Cluster.GetName()
|
clusterName := b.Cluster.GetName()
|
||||||
|
|
||||||
p := &Policy{
|
p := NewPolicy(clusterName)
|
||||||
Version: PolicyDefaultVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
AddMasterEC2Policies(p, resource, b.Cluster.GetName())
|
AddMasterEC2Policies(p, resource, b.Cluster.GetName())
|
||||||
addASLifecyclePolicies(p, resource, b.Cluster.GetName(), true)
|
addASLifecyclePolicies(p, resource, b.Cluster.GetName(), true)
|
||||||
|
|
@ -343,7 +341,7 @@ func (r *NodeRoleMaster) BuildAWSPolicy(b *PolicyBuilder) (*Policy, error) {
|
||||||
if !b.UseServiceAccountIAM {
|
if !b.UseServiceAccountIAM {
|
||||||
esc := b.Cluster.Spec.SnapshotController != nil &&
|
esc := b.Cluster.Spec.SnapshotController != nil &&
|
||||||
fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled)
|
fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled)
|
||||||
AddAWSEBSCSIDriverPermissions(p, clusterName, esc)
|
AddAWSEBSCSIDriverPermissions(p, esc)
|
||||||
|
|
||||||
if b.Cluster.Spec.AWSLoadBalancerController != nil && fi.BoolValue(b.Cluster.Spec.AWSLoadBalancerController.Enabled) {
|
if b.Cluster.Spec.AWSLoadBalancerController != nil && fi.BoolValue(b.Cluster.Spec.AWSLoadBalancerController.Enabled) {
|
||||||
AddAWSLoadbalancerControllerPermissions(p, resource, b.Cluster.GetName())
|
AddAWSLoadbalancerControllerPermissions(p, resource, b.Cluster.GetName())
|
||||||
|
|
@ -377,7 +375,7 @@ func (r *NodeRoleMaster) BuildAWSPolicy(b *PolicyBuilder) (*Policy, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if b.Cluster.Spec.SnapshotController != nil && fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled) {
|
if b.Cluster.Spec.SnapshotController != nil && fi.BoolValue(b.Cluster.Spec.SnapshotController.Enabled) {
|
||||||
addSnapshotPersmissions(p, b.Cluster.GetName())
|
addSnapshotPersmissions(p)
|
||||||
}
|
}
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
|
@ -829,54 +827,38 @@ func AddClusterAutoscalerPermissions(p *Policy, clusterName string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddAWSEBSCSIDriverPermissions appens policy statements that the AWS EBS CSI Driver needs to operate.
|
// AddAWSEBSCSIDriverPermissions appens policy statements that the AWS EBS CSI Driver needs to operate.
|
||||||
func AddAWSEBSCSIDriverPermissions(p *Policy, clusterName string, appendSnapshotPermissions bool) {
|
func AddAWSEBSCSIDriverPermissions(p *Policy, appendSnapshotPermissions bool) {
|
||||||
|
|
||||||
everything := stringorslice.String("*")
|
|
||||||
|
|
||||||
if appendSnapshotPermissions {
|
if appendSnapshotPermissions {
|
||||||
addSnapshotPersmissions(p, clusterName)
|
addSnapshotPersmissions(p)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.unconditionalAction.Insert(
|
||||||
|
"ec2:DescribeAccountAttributes", // aws.go
|
||||||
|
"ec2:DescribeInstances", // aws.go
|
||||||
|
"ec2:DescribeVolumes", // aws.go
|
||||||
|
"ec2:DescribeVolumesModifications", // aws.go
|
||||||
|
"ec2:DescribeTags", // aws.go
|
||||||
|
)
|
||||||
|
p.clusterTaggedAction.Insert(
|
||||||
|
"ec2:ModifyVolume", // aws.go
|
||||||
|
"ec2:ModifyInstanceAttribute", // aws.go
|
||||||
|
"ec2:AttachVolume", // aws.go
|
||||||
|
"ec2:DeleteVolume", // aws.go
|
||||||
|
"ec2:DetachVolume", // aws.go
|
||||||
|
)
|
||||||
|
|
||||||
p.Statement = append(p.Statement,
|
p.Statement = append(p.Statement,
|
||||||
&Statement{
|
|
||||||
Effect: StatementEffectAllow,
|
|
||||||
Action: stringorslice.Slice([]string{
|
|
||||||
"ec2:DescribeAccountAttributes", // aws.go
|
|
||||||
"ec2:DescribeInstances", // aws.go
|
|
||||||
"ec2:DescribeVolumes", // aws.go
|
|
||||||
"ec2:DescribeVolumesModifications", // aws.go
|
|
||||||
"ec2:DescribeTags", // aws.go
|
|
||||||
}),
|
|
||||||
Resource: everything,
|
|
||||||
},
|
|
||||||
&Statement{
|
&Statement{
|
||||||
Effect: StatementEffectAllow,
|
Effect: StatementEffectAllow,
|
||||||
Action: stringorslice.Slice([]string{
|
Action: stringorslice.Slice([]string{
|
||||||
"ec2:CreateVolume", // aws.go
|
"ec2:CreateVolume", // aws.go
|
||||||
}),
|
}),
|
||||||
|
|
||||||
Resource: everything,
|
Resource: stringorslice.String("*"),
|
||||||
Condition: Condition{
|
Condition: Condition{
|
||||||
"StringEquals": map[string]string{
|
"StringEquals": map[string]string{
|
||||||
"aws:RequestTag/KubernetesCluster": clusterName,
|
"aws:RequestTag/KubernetesCluster": p.clusterName,
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
&Statement{
|
|
||||||
Effect: StatementEffectAllow,
|
|
||||||
Action: stringorslice.Slice([]string{
|
|
||||||
"ec2:ModifyVolume", // aws.go
|
|
||||||
"ec2:ModifyInstanceAttribute", // aws.go
|
|
||||||
"ec2:AttachVolume", // aws.go
|
|
||||||
"ec2:DeleteVolume", // aws.go
|
|
||||||
"ec2:DetachVolume", // aws.go
|
|
||||||
}),
|
|
||||||
|
|
||||||
Resource: everything,
|
|
||||||
Condition: Condition{
|
|
||||||
"StringEquals": map[string]string{
|
|
||||||
"aws:ResourceTag/KubernetesCluster": clusterName,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -916,51 +898,22 @@ func AddAWSEBSCSIDriverPermissions(p *Policy, clusterName string, appendSnapshot
|
||||||
),
|
),
|
||||||
Condition: Condition{
|
Condition: Condition{
|
||||||
"StringEquals": map[string]string{
|
"StringEquals": map[string]string{
|
||||||
"ec2:ResourceTag/KubernetesCluster": clusterName,
|
"aws:ResourceTag/KubernetesCluster": p.clusterName,
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
&Statement{
|
|
||||||
Effect: StatementEffectAllow,
|
|
||||||
Action: stringorslice.Of(
|
|
||||||
"ec2:AttachVolume", // aws.go
|
|
||||||
"ec2:DeleteVolume", // aws.go
|
|
||||||
"ec2:DetachVolume", // aws.go
|
|
||||||
"ec2:RevokeSecurityGroupIngress", // aws.go
|
|
||||||
),
|
|
||||||
Resource: everything,
|
|
||||||
Condition: Condition{
|
|
||||||
"StringEquals": map[string]string{
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": clusterName,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func addSnapshotPersmissions(p *Policy, clusterName string) {
|
func addSnapshotPersmissions(p *Policy) {
|
||||||
p.Statement = append(p.Statement, &Statement{
|
p.unconditionalAction.Insert(
|
||||||
Effect: StatementEffectAllow,
|
"ec2:CreateSnapshot",
|
||||||
Action: stringorslice.Of(
|
"ec2:DescribeAvailabilityZones",
|
||||||
"ec2:CreateSnapshot",
|
"ec2:DescribeSnapshots",
|
||||||
"ec2:DescribeAvailabilityZones",
|
)
|
||||||
"ec2:DescribeSnapshots",
|
p.clusterTaggedAction.Insert(
|
||||||
),
|
"ec2:DeleteSnapshot",
|
||||||
Resource: stringorslice.Slice([]string{"*"}),
|
)
|
||||||
})
|
|
||||||
p.Statement = append(p.Statement, &Statement{
|
|
||||||
Effect: StatementEffectAllow,
|
|
||||||
Action: stringorslice.Of(
|
|
||||||
"ec2:DeleteSnapshot",
|
|
||||||
),
|
|
||||||
Resource: stringorslice.Slice([]string{"*"}),
|
|
||||||
Condition: Condition{
|
|
||||||
"StringEquals": map[string]string{
|
|
||||||
"aws:ResourceTag/KubernetesCluster": clusterName,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -189,17 +189,6 @@
|
||||||
"key-id-3"
|
"key-id-3"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -212,22 +201,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -248,7 +221,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -257,21 +230,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -297,6 +255,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -189,17 +189,6 @@
|
||||||
"key-id-3"
|
"key-id-3"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -212,22 +201,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -248,7 +221,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -257,21 +230,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -312,6 +270,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "iam-builder-test.k8s.local"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1439,17 +1439,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1462,22 +1451,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1498,7 +1471,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1507,21 +1480,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1547,6 +1505,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "bastionuserdata.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "bastionuserdata.example.com"
|
"aws:ResourceTag/KubernetesCluster": "bastionuserdata.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "bastionuserdata.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "bastionuserdata.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1749,17 +1749,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1772,22 +1761,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1808,7 +1781,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "complex.example.com"
|
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1817,21 +1790,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "complex.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1857,6 +1815,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "complex.example.com"
|
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "complex.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "complex.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "compress.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "compress.example.com"
|
"aws:ResourceTag/KubernetesCluster": "compress.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "compress.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "compress.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1135,17 +1135,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1158,22 +1147,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1194,7 +1167,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "containerd.example.com"
|
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1203,21 +1176,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "containerd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1243,6 +1201,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1135,17 +1135,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1158,22 +1147,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1194,7 +1167,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "containerd.example.com"
|
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1203,21 +1176,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "containerd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1243,6 +1201,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "containerd.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1135,17 +1135,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1158,22 +1147,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "docker.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1194,7 +1167,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "docker.example.com"
|
"aws:ResourceTag/KubernetesCluster": "docker.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1203,21 +1176,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "docker.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1243,6 +1201,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "docker.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "existingsg.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "existingsg.example.com"
|
"aws:ResourceTag/KubernetesCluster": "existingsg.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "existingsg.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "existingsg.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1151,17 +1151,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1174,22 +1163,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1210,7 +1183,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externallb.example.com"
|
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1219,21 +1192,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externallb.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1259,6 +1217,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externallb.example.com"
|
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externallb.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "externallb.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "externalpolicies.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externalpolicies.example.com"
|
"aws:ResourceTag/KubernetesCluster": "externalpolicies.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "externalpolicies.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "externalpolicies.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "ha.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "ha.example.com"
|
"aws:ResourceTag/KubernetesCluster": "ha.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "ha.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "ha.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,40 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:CreateSnapshot",
|
|
||||||
"ec2:DescribeAvailabilityZones",
|
|
||||||
"ec2:DescribeSnapshots"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Action": "ec2:DeleteSnapshot",
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -229,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -265,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -274,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:DescribeAvailabilityZones",
|
"ec2:DescribeAvailabilityZones",
|
||||||
|
|
@ -391,25 +326,33 @@
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateSnapshot",
|
"ec2:CreateSnapshot",
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
"ec2:DescribeAvailabilityZones",
|
"ec2:DescribeAvailabilityZones",
|
||||||
"ec2:DescribeSnapshots"
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeSnapshots",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
],
|
],
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": [
|
"Resource": "*"
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Action": "ec2:DeleteSnapshot",
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteSnapshot",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": [
|
"Resource": "*"
|
||||||
"*"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1135,17 +1135,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1158,22 +1147,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal-etcd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1194,7 +1167,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-etcd.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal-etcd.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1203,21 +1176,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-etcd.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1243,6 +1201,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal-etcd.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1131,17 +1131,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1154,22 +1143,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1190,7 +1163,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1199,21 +1172,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1239,6 +1197,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1312,17 +1312,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1335,22 +1324,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1371,7 +1344,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1380,21 +1353,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1420,6 +1378,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal-ipv6.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal-json.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-json.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal-json.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-json.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal-json.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal-warmpool.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-warmpool.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal-warmpool.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal-warmpool.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal-warmpool.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1135,17 +1135,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1158,22 +1147,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1194,7 +1167,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1203,21 +1176,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1243,6 +1201,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -154,17 +154,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -177,22 +166,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -213,7 +186,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.k8s.local"
|
"aws:ResourceTag/KubernetesCluster": "minimal.k8s.local"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -222,21 +195,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.k8s.local"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -262,6 +220,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.k8s.local"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1854,17 +1854,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1877,22 +1866,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1913,7 +1886,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1922,21 +1895,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1962,6 +1920,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1855,17 +1855,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1878,22 +1867,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1914,7 +1887,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1923,21 +1896,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1963,6 +1921,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "mixedinstances.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1245,17 +1245,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1268,22 +1257,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1304,7 +1277,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1313,21 +1286,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1365,6 +1323,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -303,6 +261,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "nthsqsresources.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1655,17 +1655,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1678,22 +1667,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1714,7 +1687,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1723,21 +1696,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1763,6 +1721,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "private-shared-ip.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "private-shared-subnet.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-subnet.example.com"
|
"aws:ResourceTag/KubernetesCluster": "private-shared-subnet.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "private-shared-subnet.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "private-shared-subnet.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1811,17 +1811,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1834,22 +1823,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1870,7 +1843,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1879,21 +1852,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1929,6 +1887,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -301,6 +259,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecalico.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecanal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecanal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecanal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecanal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecanal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1797,17 +1797,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1820,22 +1809,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1856,7 +1829,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1865,21 +1838,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1905,6 +1863,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1797,17 +1797,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1820,22 +1809,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1856,7 +1829,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1865,21 +1838,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1905,6 +1863,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatecilium.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -1830,17 +1830,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -1853,22 +1842,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -1889,7 +1862,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -1898,21 +1871,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -1958,6 +1916,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -311,6 +269,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privateciliumadvanced.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatedns1.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatedns1.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatedns1.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatedns1.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatedns1.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatedns2.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatedns2.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatedns2.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatedns2.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatedns2.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privateflannel.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateflannel.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privateflannel.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateflannel.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privateflannel.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privatekopeio.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatekopeio.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privatekopeio.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privatekopeio.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privatekopeio.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "privateweave.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateweave.example.com"
|
"aws:ResourceTag/KubernetesCluster": "privateweave.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "privateweave.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "privateweave.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "sharedsubnet.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "sharedsubnet.example.com"
|
"aws:ResourceTag/KubernetesCluster": "sharedsubnet.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "sharedsubnet.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "sharedsubnet.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "sharedvpc.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "sharedvpc.example.com"
|
"aws:ResourceTag/KubernetesCluster": "sharedvpc.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "sharedvpc.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "sharedvpc.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "unmanaged.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "unmanaged.example.com"
|
"aws:ResourceTag/KubernetesCluster": "unmanaged.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "unmanaged.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "unmanaged.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
|
|
@ -183,17 +183,6 @@
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:DescribeAccountAttributes",
|
|
||||||
"ec2:DescribeInstances",
|
|
||||||
"ec2:DescribeVolumes",
|
|
||||||
"ec2:DescribeVolumesModifications",
|
|
||||||
"ec2:DescribeTags"
|
|
||||||
],
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"ec2:CreateVolume"
|
"ec2:CreateVolume"
|
||||||
|
|
@ -206,22 +195,6 @@
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:ModifyVolume",
|
|
||||||
"ec2:ModifyInstanceAttribute",
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": "ec2:CreateTags",
|
"Action": "ec2:CreateTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
|
|
@ -242,7 +215,7 @@
|
||||||
"Action": "ec2:DeleteTags",
|
"Action": "ec2:DeleteTags",
|
||||||
"Condition": {
|
"Condition": {
|
||||||
"StringEquals": {
|
"StringEquals": {
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
|
|
@ -251,21 +224,6 @@
|
||||||
"arn:aws:ec2:*:*:snapshot/*"
|
"arn:aws:ec2:*:*:snapshot/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Action": [
|
|
||||||
"ec2:AttachVolume",
|
|
||||||
"ec2:DeleteVolume",
|
|
||||||
"ec2:DetachVolume",
|
|
||||||
"ec2:RevokeSecurityGroupIngress"
|
|
||||||
],
|
|
||||||
"Condition": {
|
|
||||||
"StringEquals": {
|
|
||||||
"ec2:ResourceTag/KubernetesCluster": "minimal.example.com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Effect": "Allow",
|
|
||||||
"Resource": "*"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Action": [
|
"Action": [
|
||||||
"autoscaling:SetDesiredCapacity",
|
"autoscaling:SetDesiredCapacity",
|
||||||
|
|
@ -291,6 +249,33 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:DescribeAccountAttributes",
|
||||||
|
"ec2:DescribeInstances",
|
||||||
|
"ec2:DescribeTags",
|
||||||
|
"ec2:DescribeVolumes",
|
||||||
|
"ec2:DescribeVolumesModifications"
|
||||||
|
],
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Action": [
|
||||||
|
"ec2:AttachVolume",
|
||||||
|
"ec2:DeleteVolume",
|
||||||
|
"ec2:DetachVolume",
|
||||||
|
"ec2:ModifyInstanceAttribute",
|
||||||
|
"ec2:ModifyVolume"
|
||||||
|
],
|
||||||
|
"Condition": {
|
||||||
|
"StringEquals": {
|
||||||
|
"aws:ResourceTag/KubernetesCluster": "minimal.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Version": "2012-10-17"
|
"Version": "2012-10-17"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue