diff options
author | Will Thames <will@thames.id.au> | 2018-04-26 05:41:04 +1000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2018-04-25 15:41:04 -0400 |
commit | 12f2b9506d1a38af966da98b35fbc86a58bf477f (patch) | |
tree | eda4480258c91ae0b350392ea4c81849459c2473 /hacking | |
parent | 58bf4ae6119e9ce483a1a63c5543bbeaed063de8 (diff) | |
download | ansible-12f2b9506d1a38af966da98b35fbc86a58bf477f.tar.gz |
[aws]Add VPC configuration to ECS modules (#34381)
Enable awsvpc network mode for ECS services and tasks and
their underlying task definitions
Improve test suite to thoroughly test the changes
Use runme.sh technique to run old and new versions of botocore to
ensure that the modules work with older botocore and older network modes
and fail gracefully if awsvpc network mode is used with older botocore
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/aws_config/testing_policies/ecs-policy.json | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/hacking/aws_config/testing_policies/ecs-policy.json b/hacking/aws_config/testing_policies/ecs-policy.json index 57412ab13f..19db32c8ae 100644 --- a/hacking/aws_config/testing_policies/ecs-policy.json +++ b/hacking/aws_config/testing_policies/ecs-policy.json @@ -32,11 +32,15 @@ "application-autoscaling:RegisterScalableTarget", "cloudwatch:DescribeAlarms", "cloudwatch:PutMetricAlarm", - "ecs:List*", - "ecs:Describe*", "ecs:CreateCluster", - "ecs:DeleteCluster", "ecs:CreateService", + "ecs:DeleteCluster", + "ecs:DeleteService", + "ecs:DeregisterTaskDefinition", + "ecs:Describe*", + "ecs:List*", + "ecs:RegisterTaskDefinition", + "ecs:RunTask", "ecs:UpdateService", "elasticloadbalancing:Describe*", "iam:AttachRolePolicy", @@ -45,8 +49,8 @@ "iam:GetPolicyVersion", "iam:GetRole", "iam:ListAttachedRolePolicies", - "iam:ListRoles", "iam:ListGroups", + "iam:ListRoles", "iam:ListUsers" ], "Resource": [ |