diff options
author | Will Thames <will@thames.id.au> | 2018-06-07 22:44:04 +1000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2018-06-07 08:44:04 -0400 |
commit | b235cb87344ab7feb58c908f2160aee3f07da426 (patch) | |
tree | 3164fe65f34c839037eca4b2544cf1afb80098cb /hacking | |
parent | 2c2af87b2edffe06f03407392cfde0aeccf9bf13 (diff) | |
download | ansible-b235cb87344ab7feb58c908f2160aee3f07da426.tar.gz |
aws_eks_cluster: New module for managing AWS EKS (#41183)
* aws_eks: New module for managing AWS EKS
aws_eks module is used for creating and removing EKS clusters.
Includes full test suite and updates to IAM policies to enable it.
* Clean up all security groups
* appease shippable
* Rename aws_eks module to aws_eks_cluster
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/aws_config/testing_policies/compute-policy.json | 3 | ||||
-rw-r--r-- | hacking/aws_config/testing_policies/container-policy.json (renamed from hacking/aws_config/testing_policies/ecs-policy.json) | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/hacking/aws_config/testing_policies/compute-policy.json b/hacking/aws_config/testing_policies/compute-policy.json index be4c4d0d51..1e7171ce53 100644 --- a/hacking/aws_config/testing_policies/compute-policy.json +++ b/hacking/aws_config/testing_policies/compute-policy.json @@ -212,7 +212,8 @@ "Resource": [ "arn:aws:iam::{{aws_account}}:role/ansible_lambda_role", "arn:aws:iam::{{aws_account}}:role/ecsInstanceRole", - "arn:aws:iam::{{aws_account}}:role/ecsServiceRole" + "arn:aws:iam::{{aws_account}}:role/ecsServiceRole", + "arn:aws:iam::{{aws_account}}:role/aws_eks_cluster_role" ] }, { diff --git a/hacking/aws_config/testing_policies/ecs-policy.json b/hacking/aws_config/testing_policies/container-policy.json index 19db32c8ae..225efc7dfa 100644 --- a/hacking/aws_config/testing_policies/ecs-policy.json +++ b/hacking/aws_config/testing_policies/container-policy.json @@ -56,6 +56,20 @@ "Resource": [ "*" ] + }, + { + "Effect": "Allow", + "Action": [ + "eks:CreateCluster", + "eks:DeleteCluster", + "eks:DescribeCluster", + "eks:ListClusters" + ], + "Resource": [ + "*" + ] } + + ] } |