forked from ansible-collections/amazon.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move module unit tests to the right location (ansible-collections#392)
* Remove cloudformation (amazon.aws) placebo recordings * Move module unit tests to the right location so ansible-test finds them This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@1cf83b1
- Loading branch information
Showing
294 changed files
with
18,437 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
16 changes: 16 additions & 0 deletions
16
...ins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"data": { | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "22cf9d88-b0ca-4a6c-8bfa-a2969541f25b", | ||
"HTTPHeaders": { | ||
"content-length": "249", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:18:47 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
16 changes: 16 additions & 0 deletions
16
...ins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"data": { | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "ee7493f2-1db0-4edb-a2c8-66dc31c41df8", | ||
"HTTPHeaders": { | ||
"content-length": "249", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:18:47 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
29 changes: 29 additions & 0 deletions
29
.../plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnection_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"data": { | ||
"VpnConnection": { | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Category": "VPN", | ||
"CustomerGatewayConfiguration": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<vpn_connection id=\"vpn-9b06e28e\">\n <customer_gateway_id>cgw-6113c87f</customer_gateway_id>\n <vpn_gateway_id>vgw-35d70c2b</vpn_gateway_id>\n <vpn_connection_type>ipsec.1</vpn_connection_type>\n <vpn_connection_attributes>NoBGPVPNConnection</vpn_connection_attributes>\n <ipsec_tunnel>\n <customer_gateway>\n <tunnel_outside_address>\n <ip_address>9.8.7.6</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.38</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </customer_gateway>\n <vpn_gateway>\n <tunnel_outside_address>\n <ip_address>52.11.116.135</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.37</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </vpn_gateway>\n <ike>\n <authentication_protocol>sha1</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>28800</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>main</mode>\n <pre_shared_key>OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1</pre_shared_key>\n </ike>\n <ipsec>\n <protocol>esp</protocol>\n <authentication_protocol>hmac-sha1-96</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>3600</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n <fragmentation_before_encryption>true</fragmentation_before_encryption>\n <tcp_mss_adjustment>1379</tcp_mss_adjustment>\n <dead_peer_detection>\n <interval>10</interval>\n <retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n </ipsec_tunnel>\n <ipsec_tunnel>\n <customer_gateway>\n <tunnel_outside_address>\n <ip_address>9.8.7.6</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.130</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </customer_gateway>\n <vpn_gateway>\n <tunnel_outside_address>\n <ip_address>52.38.13.135</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.129</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </vpn_gateway>\n <ike>\n <authentication_protocol>sha1</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>28800</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>main</mode>\n <pre_shared_key>oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME</pre_shared_key>\n </ike>\n <ipsec>\n <protocol>esp</protocol>\n <authentication_protocol>hmac-sha1-96</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>3600</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n <fragmentation_before_encryption>true</fragmentation_before_encryption>\n <tcp_mss_adjustment>1379</tcp_mss_adjustment>\n <dead_peer_detection>\n <interval>10</interval>\n <retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n </ipsec_tunnel>\n</vpn_connection>", | ||
"Routes": [], | ||
"VpnConnectionId": "vpn-9b06e28e", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "pending" | ||
}, | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "b0fe4793-77a1-4c92-978c-975c7b963c59", | ||
"HTTPHeaders": { | ||
"vary": "Accept-Encoding", | ||
"content-length": "5234", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:15:07 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
16 changes: 16 additions & 0 deletions
16
.../plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DeleteVpnConnection_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"data": { | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "92162d1f-1563-4b14-8fc5-0821c50687cb", | ||
"HTTPHeaders": { | ||
"content-length": "239", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:18:48 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
179 changes: 179 additions & 0 deletions
179
...ugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
{ | ||
"data": { | ||
"VpnConnections": [ | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9806e28d", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9e06e28b", | ||
"Category": "VPN", | ||
"Tags": [ | ||
{ | ||
"Key": "Ansible-Test", | ||
"Value": "VPN" | ||
} | ||
], | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9f06e28a", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9c06e289", | ||
"Category": "VPN", | ||
"Tags": [ | ||
{ | ||
"Key": "One", | ||
"Value": "one" | ||
}, | ||
{ | ||
"Key": "Two", | ||
"Value": "two" | ||
} | ||
], | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9d06e288", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9206e287", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9306e286", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9006e285", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9706e282", | ||
"Category": "VPN", | ||
"Tags": [ | ||
{ | ||
"Key": "Correct", | ||
"Value": "Tag" | ||
} | ||
], | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-6a06e27f", | ||
"Category": "VPN", | ||
"Tags": [ | ||
{ | ||
"Key": "Wrong", | ||
"Value": "Tag" | ||
} | ||
], | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
}, | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-6f06e27a", | ||
"Category": "VPN", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "deleted" | ||
} | ||
], | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "9843e24b-c094-451f-9be3-3f859dc39385", | ||
"HTTPHeaders": { | ||
"vary": "Accept-Encoding", | ||
"content-length": "5887", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:15:06 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
66 changes: 66 additions & 0 deletions
66
...gins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"data": { | ||
"VpnConnections": [ | ||
{ | ||
"CustomerGatewayId": "cgw-6113c87f", | ||
"VpnConnectionId": "vpn-9b06e28e", | ||
"Category": "VPN", | ||
"CustomerGatewayConfiguration": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<vpn_connection id=\"vpn-9b06e28e\">\n <customer_gateway_id>cgw-6113c87f</customer_gateway_id>\n <vpn_gateway_id>vgw-35d70c2b</vpn_gateway_id>\n <vpn_connection_type>ipsec.1</vpn_connection_type>\n <vpn_connection_attributes>NoBGPVPNConnection</vpn_connection_attributes>\n <ipsec_tunnel>\n <customer_gateway>\n <tunnel_outside_address>\n <ip_address>9.8.7.6</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.38</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </customer_gateway>\n <vpn_gateway>\n <tunnel_outside_address>\n <ip_address>52.11.116.135</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.37</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </vpn_gateway>\n <ike>\n <authentication_protocol>sha1</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>28800</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>main</mode>\n <pre_shared_key>OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1</pre_shared_key>\n </ike>\n <ipsec>\n <protocol>esp</protocol>\n <authentication_protocol>hmac-sha1-96</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>3600</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n <fragmentation_before_encryption>true</fragmentation_before_encryption>\n <tcp_mss_adjustment>1379</tcp_mss_adjustment>\n <dead_peer_detection>\n <interval>10</interval>\n <retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n </ipsec_tunnel>\n <ipsec_tunnel>\n <customer_gateway>\n <tunnel_outside_address>\n <ip_address>9.8.7.6</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.130</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </customer_gateway>\n <vpn_gateway>\n <tunnel_outside_address>\n <ip_address>52.38.13.135</ip_address>\n </tunnel_outside_address>\n <tunnel_inside_address>\n <ip_address>169.254.13.129</ip_address>\n <network_mask>255.255.255.252</network_mask>\n <network_cidr>30</network_cidr>\n </tunnel_inside_address>\n </vpn_gateway>\n <ike>\n <authentication_protocol>sha1</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>28800</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>main</mode>\n <pre_shared_key>oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME</pre_shared_key>\n </ike>\n <ipsec>\n <protocol>esp</protocol>\n <authentication_protocol>hmac-sha1-96</authentication_protocol>\n <encryption_protocol>aes-128-cbc</encryption_protocol>\n <lifetime>3600</lifetime>\n <perfect_forward_secrecy>group2</perfect_forward_secrecy>\n <mode>tunnel</mode>\n <clear_df_bit>true</clear_df_bit>\n <fragmentation_before_encryption>true</fragmentation_before_encryption>\n <tcp_mss_adjustment>1379</tcp_mss_adjustment>\n <dead_peer_detection>\n <interval>10</interval>\n <retries>3</retries>\n </dead_peer_detection>\n </ipsec>\n </ipsec_tunnel>\n</vpn_connection>", | ||
"Routes": [], | ||
"Options": { | ||
"StaticRoutesOnly": true | ||
}, | ||
"Type": "ipsec.1", | ||
"VgwTelemetry": [ | ||
{ | ||
"StatusMessage": "", | ||
"Status": "DOWN", | ||
"OutsideIpAddress": "52.11.116.135", | ||
"AcceptedRouteCount": 0, | ||
"LastStatusChange": { | ||
"year": 2018, | ||
"hour": 13, | ||
"second": 7, | ||
"minute": 15, | ||
"__class__": "datetime", | ||
"day": 16, | ||
"month": 4, | ||
"microsecond": 0 | ||
} | ||
}, | ||
{ | ||
"StatusMessage": "", | ||
"Status": "DOWN", | ||
"OutsideIpAddress": "52.38.13.135", | ||
"AcceptedRouteCount": 0, | ||
"LastStatusChange": { | ||
"year": 2018, | ||
"hour": 13, | ||
"second": 7, | ||
"minute": 15, | ||
"__class__": "datetime", | ||
"day": 16, | ||
"month": 4, | ||
"microsecond": 0 | ||
} | ||
} | ||
], | ||
"VpnGatewayId": "vgw-35d70c2b", | ||
"State": "pending" | ||
} | ||
], | ||
"ResponseMetadata": { | ||
"HTTPStatusCode": 200, | ||
"RequestId": "d5d76451-0539-4de2-a197-dac87c4eb91b", | ||
"HTTPHeaders": { | ||
"vary": "Accept-Encoding", | ||
"content-length": "6118", | ||
"server": "AmazonEC2", | ||
"content-type": "text/xml;charset=UTF-8", | ||
"date": "Mon, 16 Apr 2018 13:17:13 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
}, | ||
"status_code": 200 | ||
} |
Oops, something went wrong.