summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorMark Chappell <mchappel@redhat.com>2019-11-14 21:36:42 +0100
committerJill R <4121322+jillr@users.noreply.github.com>2019-11-14 13:36:42 -0700
commit551b17b8a24e0dc311782bb5bc4ad545e0804f78 (patch)
treef9c483e77e81fb5f5bc503c57eb3c54e65438e52 /hacking
parentdb3994cb03e5ff93f4a6803da354534807c7442b (diff)
downloadansible-551b17b8a24e0dc311782bb5bc4ad545e0804f78.tar.gz
ec2_vpc_net_info: integration tests (#62649)
* ec2_vpc_net: (integration tests) migrate to using module_defaults * ec2_vpc_net: (integration tests) use a private subnet for the tests * ec2_vpc_net_info: Add integration tests * ec2_vpc_net_info: add cidr_block_association_set to documentation * Update AWS hacking test policy to allow VPC CIDR disassociation * Update test/integration/targets/ec2_vpc_net/tasks/main.yml Co-Authored-By: Jill R <4121322+jillr@users.noreply.github.com> * Store vpc2 ID to make it clearer which VPC we're changing * Be more consistent with our quoting * Explicitly test that the VPC IDs haven't changed
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/network-policy.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/hacking/aws_config/testing_policies/network-policy.json b/hacking/aws_config/testing_policies/network-policy.json
index 55ef93fcfa..022c9369d7 100644
--- a/hacking/aws_config/testing_policies/network-policy.json
+++ b/hacking/aws_config/testing_policies/network-policy.json
@@ -77,6 +77,7 @@
"ec2:DisassociateAddress",
"ec2:DisassociateRouteTable",
"ec2:DisassociateSubnetCidrBlock",
+ "ec2:DisassociateVpcCidrBlock",
"ec2:ModifySubnetAttribute",
"ec2:ModifyVpcAttribute",
"ec2:ReleaseAddress",