summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorMark Chappell <mchappel@redhat.com>2020-02-21 01:13:10 +0100
committerGitHub <noreply@github.com>2020-02-20 17:13:09 -0700
commit9c6495d4d43b9992404869e64aeedacd030daf84 (patch)
tree21f581f54391e0b8064e235a21ecd5dbf885c0cf /hacking
parent65646179f1b45787c19a7aae13ccd50fe2c86631 (diff)
downloadansible-9c6495d4d43b9992404869e64aeedacd030daf84.tar.gz
elb_target / elb_target_info : Integration test fixups (#61256)
* Update AWS policy to enable management of TargetGroups * elb_target: (integration tests) migrate to using module_defaults * elb_target: (integration tests) lookup the AMI by name rather than hard coding AMI IDs * elb_target_info: (integration tests) finish rename of integration test role * elb_target: (integration tests) rename various resources to consistently use {{ resource_prefix }} * elb_target_info: (integration tests) Migrate to using module_defaults * elb_target_info: (integration tests) Lookup AMI by name rather than hard coding AMI IDs * Apply suggestions from code review Co-Authored-By: Jill R <4121322+jillr@users.noreply.github.com> * elb_target: (integration tests) Remove the 'unsupported' alias * Try bumping up the timeout * Rules don't permit 'shippable' (resource_prefix uses this when run in shippable) * Try bumping up more timeouts :/ * Avoid double evaluation of target_health assertion * Simplify target_type usage a little (rather than constantly performing a lookup) * mark elb_target tests 'unstable' for now, they're slow Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/compute-policy.json21
1 files changed, 10 insertions, 11 deletions
diff --git a/hacking/aws_config/testing_policies/compute-policy.json b/hacking/aws_config/testing_policies/compute-policy.json
index 37406a9fbe..a19b4256df 100644
--- a/hacking/aws_config/testing_policies/compute-policy.json
+++ b/hacking/aws_config/testing_policies/compute-policy.json
@@ -97,17 +97,16 @@
"elasticloadbalancing:*TargetGroup",
"elasticloadbalancing:AddTags",
"elasticloadbalancing:ConfigureHealthCheck",
- "elasticloadbalancing:CreateListener",
- "elasticloadbalancing:CreateRule",
- "elasticloadbalancing:DeleteListener",
- "elasticloadbalancing:DeleteRule",
- "elasticloadbalancing:DescribeInstanceHealth",
- "elasticloadbalancing:DescribeLoadBalancer*",
- "elasticloadbalancing:DescribeTags",
- "elasticloadbalancing:ModifyListener",
- "elasticloadbalancing:ModifyLoadBalancerAttributes",
- "elasticloadbalancing:ModifyRule",
- "elasticloadbalancing:RemoveTags"
+ "elasticloadbalancing:Create*",
+ "elasticloadbalancing:Delete*",
+ "elasticloadbalancing:DeregisterInstancesFromLoadBalancer",
+ "elasticloadbalancing:Describe*",
+ "elasticloadbalancing:DisableAvailabilityZonesForLoadBalancer",
+ "elasticloadbalancing:EnableAvailabilityZonesForLoadBalancer",
+ "elasticloadbalancing:Modify*",
+ "elasticloadbalancing:Register*",
+ "elasticloadbalancing:Deregister*",
+ "elasticloadbalancing:Remove*"
],
"Resource": "*"
},