diff --git a/changelogs/fragments/migrate_ec2_vpc_vpn.yml b/changelogs/fragments/migrate_ec2_vpc_vpn.yml new file mode 100644 index 00000000000..44b6cbc205f --- /dev/null +++ b/changelogs/fragments/migrate_ec2_vpc_vpn.yml @@ -0,0 +1,8 @@ +--- +breaking_changes: + - ec2_vpc_vpn - The module has been migrated from the ``community.aws`` collection. + Playbooks using the Fully Qualified Collection Name for this module should be + updated to use ``amazon.aws.ec2_vpc_vpn``. + - ec2_vpc_vpn_info - The module has been migrated from the ``community.aws`` collection. + Playbooks using the Fully Qualified Collection Name for this module should be + updated to use ``amazon.aws.ec2_vpc_vpn_info``. diff --git a/meta/runtime.yml b/meta/runtime.yml index 731f7870900..d9324dea195 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -111,8 +111,6 @@ action_groups: - ec2_transit_gateway_info - ec2_transit_gateway_vpc_attachment - ec2_transit_gateway_vpc_attachment_info - - ec2_vpc_vpn - - ec2_vpc_vpn_info - ec2_win_password - ecs_attribute - ecs_cluster @@ -535,6 +533,10 @@ plugin_routing: redirect: amazon.aws.ec2_vpc_vgw ec2_vpc_vgw_info: redirect: amazon.aws.ec2_vpc_vgw_info + ec2_vpc_vpn: + redirect: amazon.aws.ec2_vpc_vpn + ec2_vpc_vpn_info: + redirect: amazon.aws.ec2_vpc_vpn_info module_utils: route53: redirect: amazon.aws.route53 diff --git a/plugins/modules/ec2_vpc_vpn.py b/plugins/modules/ec2_vpc_vpn.py deleted file mode 100644 index 2555e4cc3a7..00000000000 --- a/plugins/modules/ec2_vpc_vpn.py +++ /dev/null @@ -1,944 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -# Copyright (c) 2017 Ansible Project -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -DOCUMENTATION = r""" ---- -module: ec2_vpc_vpn -version_added: 1.0.0 -short_description: Create, modify, and delete EC2 VPN connections -description: - - This module creates, modifies, and deletes VPN connections. - - Idempotence is achieved by using the O(filters) option or specifying the VPN connection identifier. -author: - - Sloane Hertel (@s-hertel) -options: - state: - description: - - The desired state of the VPN connection. - choices: ["present", "absent"] - default: present - required: false - type: str - customer_gateway_id: - description: - - The ID of the customer gateway. - type: str - connection_type: - description: - - The type of VPN connection. - - At this time only V(ipsec.1) is supported. - default: "ipsec.1" - type: str - vpn_gateway_id: - description: - - The ID of the virtual private gateway. - - Mutually exclusive with O(transit_gateway_id). - type: str - vpn_connection_id: - description: - - The ID of the VPN connection. Required to modify or delete a connection if the filters option does not provide a unique match. - type: str - static_only: - description: - - Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP. - default: false - type: bool - required: false - transit_gateway_id: - description: - - The ID of the transit gateway. - - Mutually exclusive with O(vpn_gateway_id). - type: str - version_added: 6.2.0 - local_ipv4_network_cidr: - description: - - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. - required: false - type: str - default: "0.0.0.0/0" - version_added: 9.0.0 - tunnel_options: - description: - - An optional list object containing no more than two dict members, each of which may contain O(tunnel_options.TunnelInsideCidr) - and/or O(tunnel_options.PreSharedKey) keys with appropriate string values. - AWS defaults will apply in absence of either of the aforementioned keys. - required: false - type: list - elements: dict - default: [] - suboptions: - TunnelInsideCidr: - type: str - description: - - The range of inside IPv4 addresses for the tunnel. - TunnelInsideIpv6Cidr: - type: str - description: - - The range of inside IPv6 addresses for the tunnel. - version_added: 9.0.0 - PreSharedKey: - type: str - description: - - The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway. - filters: - description: - - An alternative to using O(vpn_connection_id). If multiple matches are found, O(vpn_connection_id) is required. - If one of the following suboptions is a list of items to filter by, only one item needs to match to find the VPN - that correlates. e.g. if the filter O(filters.cidr) is V(["194.168.2.0/24", "192.168.2.0/24"]) and the VPN route only has the - destination cidr block of V(192.168.2.0/24) it will be found with this filter (assuming there are not multiple - VPNs that are matched). Another example, if the filter O(filters.vpn) is equal to V(["vpn-ccf7e7ad", "vpn-cb0ae2a2"]) and one - of of the VPNs has the state deleted (exists but is unmodifiable) and the other exists and is not deleted, - it will be found via this filter. - suboptions: - cgw-config: - description: - - The customer gateway configuration of the VPN as a string (in the format of the return value) or a list of those strings. - static-routes-only: - description: - - The type of routing; V(true) or V(false). - type: bool - cidr: - description: - - The destination cidr of the VPN's route as a string or a list of those strings. - bgp: - description: - - The BGP ASN number associated with a BGP device. Only works if the connection is attached. - This filtering option is currently not working. - vpn: - description: - - The VPN connection id as a string or a list of those strings. - vgw: - description: - - The virtual private gateway as a string or a list of those strings. - tag-keys: - description: - - The key of a tag as a string or a list of those strings. - tag-values: - description: - - The value of a tag as a string or a list of those strings. - tags: - description: - - A dict of key value pairs. - type: dict - cgw: - description: - - The customer gateway id as a string or a list of those strings. - type: dict - default: {} - routes: - description: - - Routes to add to the connection. - type: list - elements: str - default: [] - purge_routes: - description: - - Whether or not to delete VPN connections routes that are not specified in the task. - type: bool - default: false - wait_timeout: - description: - - How long, in seconds, before wait gives up. - default: 600 - type: int - required: false - delay: - description: - - The time, in seconds, to wait before checking operation again. - required: false - type: int - default: 15 -extends_documentation_fragment: - - amazon.aws.region.modules - - amazon.aws.common.modules - - amazon.aws.tags - - amazon.aws.boto3 -""" - -EXAMPLES = r""" -# Note: These examples do not set authentication details, see the AWS Guide for details. - -- name: Create a VPN connection with vpn_gateway_id - community.aws.ec2_vpc_vpn: - state: "present" - vpn_gateway_id: "vgw-XXXXXXXX" - customer_gateway_id: "cgw-XXXXXXXX" - -- name: Attach a vpn connection to transit gateway - community.aws.ec2_vpc_vpn: - state: "present" - transit_gateway_id: "tgw-XXXXXXXX" - customer_gateway_id: "cgw-XXXXXXXX" - -- name: Modify VPN connection tags - community.aws.ec2_vpc_vpn: - state: "present" - vpn_connection_id: "vpn-XXXXXXXX" - tags: - Name: "ansible-tag-1" - Other: "ansible-tag-2" - -- name: Delete a connection - community.aws.ec2_vpc_vpn: - vpn_connection_id: "vpn-XXXXXXXX" - state: "absent" - -- name: Modify VPN tags (identifying VPN by filters) - community.aws.ec2_vpc_vpn: - state: "present" - filters: - cidr: "194.168.1.0/24" - tag-keys: - - "Ansible" - - "Other" - tags: - New: "Tag" - purge_tags: true - static_only: true - -- name: Set up VPN with tunnel options utilizing 'TunnelInsideCidr' only - community.aws.ec2_vpc_vpn: - state: "present" - filters: - vpn: "vpn-XXXXXXXX" - static_only: true - tunnel_options: - - TunnelInsideCidr: "169.254.100.1/30" - - TunnelInsideCidr: "169.254.100.5/30" - -- name: Add routes and remove any preexisting ones - community.aws.ec2_vpc_vpn: - state: "present" - filters: - vpn: "vpn-XXXXXXXX" - routes: - - "195.168.2.0/24" - - "196.168.2.0/24" - purge_routes: true - -- name: Remove all routes - community.aws.ec2_vpc_vpn: - state: "present" - vpn_connection_id: "vpn-XXXXXXXX" - routes: [] - purge_routes: true - -- name: Delete a VPN identified by filters - community.aws.ec2_vpc_vpn: - state: "absent" - filters: - tags: - Ansible: "Tag" -""" - -RETURN = r""" -changed: - description: If the VPN connection has changed. - type: bool - returned: always - sample: true -customer_gateway_configuration: - description: The configuration of the VPN connection. - returned: O(state=present) - type: str -customer_gateway_id: - description: The customer gateway connected via the connection. - type: str - returned: O(state=present) - sample: "cgw-1220c87b" -gateway_association_state: - description: The current state of the gateway association. - type: str - returned: O(state=present) - sample: "associated" -vpn_gateway_id: - description: The virtual private gateway connected via the connection. - type: str - returned: O(state=present) - sample: "vgw-cb0ae2a2" -transit_gateway_id: - description: The transit gateway id to which the vpn connection can be attached. - type: str - returned: O(state=present) - sample: "tgw-cb0ae2a2" -options: - description: The VPN connection options. - type: list - elements: dict - returned: O(state=present) - contains: - static_routes_only: - description: If the VPN connection only allows static routes. - returned: O(state=present) - type: bool - sample: true - enable_acceleration: - description: Indicates whether acceleration is enabled for the VPN connection. - returned: O(state=present) - type: bool - sample: false - local_ipv4_network_cidr: - description: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. - returned: O(state=present) - type: str - sample: "0.0.0.0/0" - outside_ip_address_type: - description: The external IP address of the VPN tunnel. - returned: O(state=present) - type: str - sample: "PublicIpv4" - remote_ipv4_network_cidr: - description: The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - returned: O(state=present) - type: str - sample: "0.0.0.0/0" - tunnel_inside_ip_version: - description: Indicates whether the VPN tunnels process IPv4 or IPv6 traffic. - returned: O(state=present) - type: str - sample: "ipv4" - tunnel_options: - description: Indicates the VPN tunnel options. - returned: O(state=present) - type: list - elements: dict - sample: [{ - "log_options": { - "cloud_watch_log_options": { - "log_enabled": false - } - }, - "outside_ip_address": "34.225.101.10", - "pre_shared_key": "8n7hnjNE8zhIt4VpMOIfcrw6XnUTHLW9", - "tunnel_inside_cidr": "169.254.31.8/30" - }] - contains: - log_options: - description: Options for logging VPN tunnel activity. - returned: O(state=present) - type: dict - contains: - cloud_watch_log_options: - description: Options for sending VPN tunnel logs to CloudWatch. - type: dict - returned: O(state=present) - outside_ip_address: - description: The external IP address of the VPN tunnel. - type: str - returned: O(state=present) - pre_shared_key: - description: - - The pre-shared key (PSK) to establish initial authentication between the - virtual private gateway and the customer gateway. - type: str - returned: O(state=present) - tunnel_inside_cidr: - description: The range of inside IPv4 addresses for the tunnel. - type: str - returned: O(state=present) -routes: - description: The routes of the VPN connection. - type: list - returned: O(state=present) - sample: [{ - "destination_cidr_block": "192.168.1.0/24", - "state": "available" - }] - contains: - destination_cidr_block: - description: - - The CIDR block associated with the local subnet of the customer data center. - type: str - returned: O(state=present) - source: - description: Indicates how the routes were provided. - type: str - returned: O(state=present) - state: - description: The current state of the static route. - type: str - returned: O(state=present) -state: - description: The status of the VPN connection. - type: str - returned: O(state=present) - sample: "available" -tags: - description: The tags associated with the connection. - type: dict - returned: O(state=present) - sample: { - "name": "ansible-test", - "other": "tag" - } -type: - description: The type of VPN connection (currently only ipsec.1 is available). - type: str - returned: O(state=present) - sample: "ipsec.1" -vgw_telemetry: - type: list - returned: O(state=present) - description: The telemetry for the VPN tunnel. - sample: [{ - "accepted_route_count": 0, - "last_status_change": "2024-09-30T13:12:33+00:00", - "outside_ip_address": "34.225.101.10", - "status": "DOWN", - "status_message": "IPSEC IS DOWN" - }] - contains: - accepted_route_count: - type: int - returned: O(state=present) - description: The number of accepted routes. - last_status_change: - type: str - returned: O(state=present) - description: The date and time of the last change in status. - outside_ip_address: - type: str - returned: O(state=present) - description: - - The Internet-routable IP address of the virtual private gateway's outside interface. - status: - type: str - returned: O(state=present) - description: The status of the VPN tunnel. - status_message: - type: str - returned: O(state=present) - description: If an error occurs, a description of the error. - certificate_arn: - description: The Amazon Resource Name of the virtual private gateway tunnel endpoint certificate. - returned: when a private certificate is used for authentication - type: str - sample: "arn:aws:acm:us-east-1:123456789012:certificate/c544d8ce-20b8-4fff-98b0-example" -vpn_connection_id: - description: The identifier for the VPN connection. - type: str - returned: O(state=present) - sample: "vpn-781e0e19" -""" - -try: - from botocore.exceptions import WaiterError -except ImportError: - pass # Handled by AnsibleAWSModule - -from typing import Any -from typing import Dict -from typing import List -from typing import NoReturn -from typing import Optional -from typing import Tuple -from typing import Union - -from ansible.module_utils._text import to_text -from ansible.module_utils.common.dict_transformations import camel_dict_to_snake_dict - -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AnsibleEC2Error -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import create_vpn_connection -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import create_vpn_connection_route -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import delete_vpn_connection -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import delete_vpn_connection_route -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import describe_vpn_connections -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import ensure_ec2_tags -from ansible_collections.amazon.aws.plugins.module_utils.tagging import boto3_tag_list_to_ansible_dict -from ansible_collections.amazon.aws.plugins.module_utils.tagging import compare_aws_tags - -from ansible_collections.community.aws.plugins.module_utils.modules import AnsibleCommunityAWSModule as AnsibleAWSModule - - -def find_vpn_connection( - client, module: AnsibleAWSModule, vpn_connection_id: Optional[str] = None -) -> Union[None, Dict[str, Any]]: - """Looks for a unique VPN connection. Uses find_connection_response() to return the connection found, None, - or raise an error if there were multiple viable connections.""" - - filters = module.params.get("filters") - params: Dict[str, Any] = {} - - # vpn_connection_id may be provided via module option; takes precedence over any filter values - if not vpn_connection_id and module.params.get("vpn_connection_id"): - vpn_connection_id = module.params["vpn_connection_id"] - - if not isinstance(vpn_connection_id, list) and vpn_connection_id: - vpn_connection_id = [to_text(vpn_connection_id)] - elif isinstance(vpn_connection_id, list): - vpn_connection_id = [to_text(connection) for connection in vpn_connection_id] - - formatted_filter: List = [] - # if vpn_connection_id is provided it will take precedence over any filters since it is a unique identifier - if not vpn_connection_id: - formatted_filter = create_filter(module, filters) - - if vpn_connection_id: - params["VpnConnectionIds"] = vpn_connection_id - params["Filters"] = formatted_filter - - # see if there is a unique matching connection - try: - existing_conn = describe_vpn_connections(client, **params) - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg="Failed while describing VPN connection.") - - return find_connection_response(module, connections=existing_conn) - - -def add_routes(client, module: AnsibleAWSModule, vpn_connection_id: str, routes_to_add: List[Dict[str, Any]]) -> bool: - changed: bool = False - for route in routes_to_add: - try: - changed |= create_vpn_connection_route(client, vpn_connection_id, route) - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg=f"Failed while adding route {route} to the VPN connection {vpn_connection_id}.") - return changed - - -def remove_routes( - client, module: AnsibleAWSModule, vpn_connection_id: str, routes_to_remove: List[Dict[str, Any]] -) -> bool: - changed: bool = False - for route in routes_to_remove: - try: - changed |= delete_vpn_connection_route(client, vpn_connection_id, route) - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg=f"Failed to remove route {route} from the VPN connection {vpn_connection_id}.") - return changed - - -def create_filter(module, provided_filters: Dict[str, Any]) -> List[Dict[str, Any]]: - """Creates a filter using the user-specified parameters and unmodifiable options that may have been specified in the task""" - - boto3ify_filter = { - "cgw-config": "customer-gateway-configuration", - "static-routes-only": "option.static-routes-only", - "cidr": "route.destination-cidr-block", - "bgp": "bgp-asn", - "vpn": "vpn-connection-id", - "vgw": "vpn-gateway-id", - "tag-keys": "tag-key", - "tag-values": "tag-value", - "tags": "tag", - "cgw": "customer-gateway-id", - } - - # unmodifiable options and their filter name counterpart - param_to_filter = { - "customer_gateway_id": "customer-gateway-id", - "vpn_gateway_id": "vpn-gateway-id", - "transit_gateway_id": "transit-gateway-id", - "vpn_connection_id": "vpn-connection-id", - } - - flat_filter_dict = {} - formatted_filter: List = [] - - for raw_param in dict(provided_filters): - # fix filter names to be recognized by boto3 - if raw_param in boto3ify_filter: - param = boto3ify_filter[raw_param] - provided_filters[param] = provided_filters.pop(raw_param) - elif raw_param in list(boto3ify_filter.items()): - param = raw_param - else: - module.fail_json(msg=f"{raw_param} is not a valid filter.") - - # reformat filters with special formats - if param == "tag": - for key in provided_filters[param]: - formatted_key = "tag:" + key - if isinstance(provided_filters[param][key], list): - flat_filter_dict[formatted_key] = str(provided_filters[param][key]) - else: - flat_filter_dict[formatted_key] = [str(provided_filters[param][key])] - elif param == "option.static-routes-only": - flat_filter_dict[param] = [str(provided_filters[param]).lower()] - else: - if isinstance(provided_filters[param], list): - flat_filter_dict[param] = provided_filters[param] - else: - flat_filter_dict[param] = [str(provided_filters[param])] - - # if customer_gateway, vpn_gateway, or vpn_connection was specified in the task but not the filter, add it - for param in param_to_filter: - if param_to_filter[param] not in flat_filter_dict and module.params.get(param): - flat_filter_dict[param_to_filter[param]] = [module.params.get(param)] - - # change the flat dict into something boto3 will understand - formatted_filter = [{"Name": key, "Values": value} for key, value in flat_filter_dict.items()] - - return formatted_filter - - -def find_connection_response(module, connections: Optional[List[Dict[str, Any]]] = None) -> Optional[Dict[str, Any]]: - """Determine if there is a viable unique match in the connections described. Returns the unique VPN connection if one is found, - returns None if the connection does not exist, raise an error if multiple matches are found.""" - - # Found no connections - if not connections: - return None - - # Too many results - elif connections and len(connections) > 1: - viable = [] - for each in connections: - # deleted connections are not modifiable - if each["State"] not in ("deleted", "deleting"): - viable.append(each) - if len(viable) == 1: - # Found one viable result; return unique match - return viable[0] - elif len(viable) == 0: - # Found a result but it was deleted already; since there was only one viable result create a new one - return None - else: - module.fail_json( - msg=( - "More than one matching VPN connection was found. " - "To modify or delete a VPN please specify vpn_connection_id or add filters." - ) - ) - - # Found unique match - elif connections and len(connections) == 1: - # deleted connections are not modifiable - if connections[0]["State"] not in ("deleted", "deleting"): - return connections[0] - - -def create_connection( - client, - module: AnsibleAWSModule, - customer_gateway_id: Optional[str], - static_only: Optional[bool], - vpn_gateway_id: str, - transit_gateway_id: str, - connection_type: Optional[str], - max_attempts: Optional[int], - delay: Optional[int], - local_ipv4_network_cidr: Optional[str], - tunnel_options: Optional[List[Dict[str, Any]]] = None, -) -> Dict[str, Any]: - """Creates a VPN connection""" - - options = {"StaticRoutesOnly": static_only, "LocalIpv4NetworkCidr": local_ipv4_network_cidr} - - if tunnel_options and len(tunnel_options) <= 2: - t_opt = [] - for m in tunnel_options: - # See Boto3 docs regarding 'create_vpn_connection' - # tunnel options for allowed 'TunnelOptions' keys. - if not isinstance(m, dict): - raise TypeError("non-dict list member") - t_opt.append(m) - if t_opt: - options["TunnelOptions"] = t_opt - - if not (customer_gateway_id and (vpn_gateway_id or transit_gateway_id)): - module.fail_json( - msg=( - "No matching connection was found. To create a new connection you must provide " - "customer_gateway_id and one of either transit_gateway_id or vpn_gateway_id." - ) - ) - vpn_connection_params: Dict[str, Any] = { - "Type": connection_type, - "CustomerGatewayId": customer_gateway_id, - "Options": options, - } - - if vpn_gateway_id: - vpn_connection_params["VpnGatewayId"] = vpn_gateway_id - if transit_gateway_id: - vpn_connection_params["TransitGatewayId"] = transit_gateway_id - - try: - vpn = create_vpn_connection(client, **vpn_connection_params) - client.get_waiter("vpn_connection_available").wait( - VpnConnectionIds=[vpn["VpnConnectionId"]], - WaiterConfig={"Delay": delay, "MaxAttempts": max_attempts}, - ) - except WaiterError as e: - module.fail_json_aws( - e, msg=f"Failed to wait for VPN connection {vpn['VpnConnection']['VpnConnectionId']} to be available" - ) - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg="Failed to create VPN connection") - - return vpn - - -def delete_connection(client, module: AnsibleAWSModule, vpn_connection_id: str) -> NoReturn: - """Deletes a VPN connection""" - - delay = module.params.get("delay") - max_attempts = module.params.get("wait_timeout") // delay - - try: - delete_vpn_connection(client, vpn_connection_id) - client.get_waiter("vpn_connection_deleted").wait( - VpnConnectionIds=[vpn_connection_id], WaiterConfig={"Delay": delay, "MaxAttempts": max_attempts} - ) - except WaiterError as e: - module.fail_json_aws(e, msg=f"Failed to wait for VPN connection {vpn_connection_id} to be removed") - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg=f"Failed to delete the VPN connection: {vpn_connection_id}") - - -def check_for_routes_update(client, module: AnsibleAWSModule, vpn_connection_id: str) -> Dict[str, Any]: - """Determines if there are any routes that need to be updated. Ensures non-modifiable attributes aren't expected to change.""" - routes = module.params.get("routes") - purge_routes = module.params.get("purge_routes") - - vpn_connection = find_vpn_connection(client, module, vpn_connection_id) - current_attrs = camel_dict_to_snake_dict(vpn_connection) - - # Initialize changes dict - changes: Dict[str, Any] = {"routes_to_add": [], "routes_to_remove": []} - - # Get changes to routes - if "Routes" in vpn_connection: - current_routes = [route["DestinationCidrBlock"] for route in vpn_connection["Routes"]] - if purge_routes: - changes["routes_to_remove"] = [old_route for old_route in current_routes if old_route not in routes] - changes["routes_to_add"] = [new_route for new_route in routes if new_route not in current_routes] - - # Check if nonmodifiable attributes are attempted to be modified - for attribute in current_attrs: - if attribute in ("tags", "routes", "state"): - continue - elif attribute == "options": - will_be = module.params.get("static_only") - is_now = bool(current_attrs[attribute]["static_routes_only"]) - attribute = "static_only" - elif attribute == "type": - will_be = module.params.get("connection_type") - is_now = current_attrs[attribute] - else: - is_now = current_attrs[attribute] - will_be = module.params.get(attribute) - - if will_be is not None and to_text(will_be) != to_text(is_now): - module.fail_json( - msg=( - f"You cannot modify {attribute}, the current value of which is {is_now}. Modifiable VPN connection" - f" attributes are tags and routes. The value you tried to change it to is {will_be}." - ) - ) - - return changes - - -def make_changes(client, module: AnsibleAWSModule, vpn_connection_id: str, changes: Dict[str, Any]) -> bool: - """changes is a dict with the keys 'routes_to_add', 'routes_to_remove', - the values of which are lists (generated by check_for_routes_update()). - """ - changed: bool = False - - if module.params.get("tags") is not None: - changed |= ensure_ec2_tags( - client, - module, - vpn_connection_id, - resource_type="vpn-connection", - tags=module.params.get("tags"), - purge_tags=module.params.get("purge_tags"), - ) - - if changes["routes_to_add"]: - changed |= add_routes(client, module, vpn_connection_id, changes["routes_to_add"]) - - if changes["routes_to_remove"]: - changed |= remove_routes(client, module, vpn_connection_id, changes["routes_to_remove"]) - - return changed - - -def get_check_mode_results( - module_params: Dict[str, Any], vpn_connection_id: Optional[str] = None, current_state: Optional[str] = None -) -> Tuple[bool, Dict[str, Any]]: - """Returns the changes that would be made to a VPN Connection""" - changed: bool = False - results: Dict[str, Any] = { - "customer_gateway_configuration": "", - "customer_gateway_id": module_params.get("customer_gateway_id"), - "vpn_gateway_id": module_params.get("vpn_gateway_id"), - "transit_gateway_id": module_params.get("transit_gateway_id"), - "options": {"static_routes_only": module_params.get("static_only")}, - "routes": [module_params.get("routes")], - } - - present_tags = module_params.get("tags") - # get combined current tags and tags to set - if present_tags is None: - pass - elif current_state and "Tags" in current_state: - current_tags = boto3_tag_list_to_ansible_dict(current_state["Tags"]) - tags_to_add, tags_to_remove = compare_aws_tags(current_tags, present_tags, module_params.get("purge_tags")) - changed |= bool(tags_to_remove) or bool(tags_to_add) - if module_params.get("purge_tags"): - current_tags = {} - current_tags.update(present_tags) - results["tags"] = current_tags - elif module_params.get("tags"): - changed = True - - if present_tags: - results["tags"] = present_tags - - # get combined current routes and routes to add - present_routes = module_params.get("routes") - if current_state and "Routes" in current_state: - current_routes = [route["DestinationCidrBlock"] for route in current_state["Routes"]] - if module_params.get("purge_routes"): - if set(current_routes) != set(present_routes): - changed = True - elif set(present_routes) != set(current_routes): - if not set(present_routes) < set(current_routes): - changed = True - present_routes.extend([route for route in current_routes if route not in present_routes]) - elif module_params.get("routes"): - changed = True - results["routes"] = [{"destination_cidr_block": cidr, "state": "available"} for cidr in present_routes] - - # return the vpn_connection_id if it's known - if vpn_connection_id: - results["vpn_connection_id"] = vpn_connection_id - else: - changed = True - results["vpn_connection_id"] = "vpn-XXXXXXXX" - - return changed, results - - -def ensure_present( - client, module: AnsibleAWSModule, vpn_connection: Optional[Dict[str, Any]] -) -> Tuple[bool, Dict[str, Any]]: - """Creates and adds tags to a VPN connection. If the connection already exists update tags.""" - changed: bool = False - delay = module.params.get("delay") - max_attempts = module.params.get("wait_timeout") // delay - - # No match but vpn_connection_id was specified. - if not vpn_connection and module.params.get("vpn_connection_id"): - module.fail_json(msg="There is no VPN connection available or pending with that id. Did you delete it?") - - # Unique match was found. Check if attributes provided differ. - elif vpn_connection: - vpn_connection_id = vpn_connection["VpnConnectionId"] - # check_for_update returns a dict with the keys routes_to_add, routes_to_remove - changes = check_for_routes_update(client, module, vpn_connection_id) - - if module.check_mode: - return get_check_mode_results(module.params, vpn_connection_id, current_state=vpn_connection) - - changed |= make_changes(client, module, vpn_connection_id, changes) - - # No match was found. Create and tag a connection and add routes. - else: - changed = True - - if module.check_mode: - return get_check_mode_results(module.params) - - vpn_connection = create_connection( - client, - module, - customer_gateway_id=module.params.get("customer_gateway_id"), - static_only=module.params.get("static_only"), - vpn_gateway_id=module.params.get("vpn_gateway_id"), - transit_gateway_id=module.params.get("transit_gateway_id"), - connection_type=module.params.get("connection_type"), - local_ipv4_network_cidr=module.params.get("local_ipv4_network_cidr"), - tunnel_options=module.params.get("tunnel_options"), - max_attempts=max_attempts, - delay=delay, - ) - - changes = check_for_routes_update(client, module, vpn_connection["VpnConnectionId"]) - make_changes(client, module, vpn_connection["VpnConnectionId"], changes) - - # get latest version if a change has been made and make tags output nice before returning it - if vpn_connection: - vpn_connection = find_vpn_connection(client, module, vpn_connection["VpnConnectionId"]) - if "Tags" in vpn_connection: - vpn_connection["Tags"] = boto3_tag_list_to_ansible_dict(vpn_connection["Tags"]) - - return (changed, vpn_connection) - - -def ensure_absent(client, module: AnsibleAWSModule, vpn_connection: Dict[str, Any]) -> bool: - """Deletes a VPN connection if it exists.""" - changed: bool = False - - if vpn_connection: - changed = True - - if module.check_mode: - return changed - - delete_connection(client, module, vpn_connection["VpnConnectionId"]) - - return changed - - -def main(): - argument_spec = dict( - state=dict(type="str", default="present", choices=["present", "absent"]), - filters=dict(type="dict", default={}), - vpn_gateway_id=dict(type="str"), - tags=dict(type="dict", aliases=["resource_tags"]), - connection_type=dict(default="ipsec.1", type="str"), - transit_gateway_id=dict(type="str"), - local_ipv4_network_cidr=dict(type="str", default="0.0.0.0/0"), - tunnel_options=dict( - no_log=True, - type="list", - default=[], - elements="dict", - options=dict( - TunnelInsideCidr=dict(type="str"), - TunnelInsideIpv6Cidr=dict(type="str"), - PreSharedKey=dict(type="str", no_log=True), - ), - ), - static_only=dict(default=False, type="bool"), - customer_gateway_id=dict(type="str"), - vpn_connection_id=dict(type="str"), - purge_tags=dict(type="bool", default=True), - routes=dict(type="list", default=[], elements="str"), - purge_routes=dict(type="bool", default=False), - wait_timeout=dict(type="int", default=600), - delay=dict(type="int", default=15), - ) - mutually_exclusive = [ - ["vpn_gateway_id", "transit_gateway_id"], - ] - - module = AnsibleAWSModule( - argument_spec=argument_spec, - supports_check_mode=True, - mutually_exclusive=mutually_exclusive, - ) - client = module.client("ec2") - - response: Dict[str, Any] = {} - state = module.params.get("state") - - vpn_connection = find_vpn_connection(client, module) - - if state == "present": - changed, response = ensure_present(client, module, vpn_connection) - elif state == "absent": - changed = ensure_absent(client, module, vpn_connection) - - module.exit_json(changed=changed, **camel_dict_to_snake_dict(response)) - - -if __name__ == "__main__": - main() diff --git a/plugins/modules/ec2_vpc_vpn_info.py b/plugins/modules/ec2_vpc_vpn_info.py deleted file mode 100644 index a5d3f65db7d..00000000000 --- a/plugins/modules/ec2_vpc_vpn_info.py +++ /dev/null @@ -1,282 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -# Copyright: Ansible Project -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - -DOCUMENTATION = r""" ---- -module: ec2_vpc_vpn_info -version_added: 1.0.0 -short_description: Gather information about EC2 VPN Connections in AWS -description: - - Gather information about EC2 VPN Connections in AWS. -author: - - Madhura Naniwadekar (@Madhura-CSI) -options: - filters: - description: - - A dict of filters to apply. Each dict item consists of a filter key and a filter value. - See U(https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html) for possible filters. - required: false - type: dict - default: {} - vpn_connection_ids: - description: - - Get details of specific EC2 VPN Connection(s) using vpn connection ID/IDs. This value should be provided as a list. - required: false - type: list - elements: str - default: [] -extends_documentation_fragment: - - amazon.aws.common.modules - - amazon.aws.region.modules - - amazon.aws.boto3 -""" - -EXAMPLES = r""" -# # Note: These examples do not set authentication details, see the AWS Guide for details. -- name: Gather information about all EC2 VPN Connections - community.aws.ec2_vpc_vpn_info: - -- name: Gather information about a filtered list of EC2 VPN Connections, based on tags - community.aws.ec2_vpc_vpn_info: - filters: - "tag:Name": "test-connection" - register: vpn_conn_info - -- name: Gather information about EC2 VPN Connections by specifying connection IDs - community.aws.ec2_vpc_vpn_info: - filters: - "vpn-gateway-id": "vgw-cbe66beb" - register: vpn_conn_info -""" - -RETURN = r""" -vpn_connections: - description: List of one or more EC2 VPN Connections. - type: list - elements: dict - returned: always - contains: - category: - description: The category of the VPN connection. - returned: always - type: str - sample: "VPN" - customer_gatway_configuration: - description: The configuration information for the VPN connection's customer gateway (in the native XML format). - returned: always - type: str - customer_gateway_id: - description: The ID of the customer gateway at your end of the VPN connection. - returned: always - type: str - sample: "cgw-17a53c37" - gateway_association_state: - description: The current state of the gateway association. - type: str - sample: "associated" - options: - description: The VPN connection options. - type: list - elements: dict - contains: - static_routes_only: - description: If the VPN connection only allows static routes. - type: bool - sample: true - enable_acceleration: - description: Indicates whether acceleration is enabled for the VPN connection. - type: bool - sample: false - local_ipv4_network_cidr: - description: The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. - type: str - sample: "0.0.0.0/0" - outside_ip_address_type: - description: The external IP address of the VPN tunnel. - type: str - sample: "PublicIpv4" - remote_ipv4_network_cidr: - description: The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - type: str - sample: "0.0.0.0/0" - tunnel_inside_ip_version: - description: Indicates whether the VPN tunnels process IPv4 or IPv6 traffic. - type: str - sample: "ipv4" - tunnel_options: - description: Indicates the VPN tunnel options. - type: list - elements: dict - sample: [ - { - "log_options": { - "cloud_watch_log_options": { - "log_enabled": false - } - }, - "outside_ip_address": "34.225.101.10", - "pre_shared_key": "8n7hnjNE8zhIt4VpMOIfcrw6XnUTHLW9", - "tunnel_inside_cidr": "169.254.31.8/30" - }, - ] - contains: - log_options: - description: Options for logging VPN tunnel activity. - type: dict - contains: - cloud_watch_log_options: - description: Options for sending VPN tunnel logs to CloudWatch. - type: dict - outside_ip_address: - description: The external IP address of the VPN tunnel. - type: str - pre_shared_key: - description: - - The pre-shared key (PSK) to establish initial authentication between the - virtual private gateway and the customer gateway. - type: str - tunnel_inside_cidr: - description: The range of inside IPv4 addresses for the tunnel. - type: str - routes: - description: List of static routes associated with the VPN connection. - returned: always - type: list - elements: dict - contains: - destination_cidr_block: - description: - - The CIDR block associated with the local subnet of the customer data center. - type: str - source: - description: Indicates how the routes were provided. - type: str - state: - description: The current state of the static route. - type: str - state: - description: The current state of the VPN connection. - returned: always - type: str - sample: "available" - tags: - description: Any tags assigned to the VPN connection. - returned: always - type: dict - sample: { - "Name": "test-conn" - } - type: - description: The type of VPN connection. - returned: always - type: str - sample: "ipsec.1" - vgw_telemetry: - description: Information about the VPN tunnel. - returned: always - type: dict - contains: - accepted_route_count: - description: The number of accepted routes. - returned: always - type: int - sample: 0 - last_status_change: - description: The date and time of the last change in status. - returned: always - type: str - sample: "2018-02-09T14:35:27+00:00" - outside_ip_address: - description: The Internet-routable IP address of the virtual private gateway's outside interface. - returned: always - type: str - sample: "13.127.79.191" - status: - description: The status of the VPN tunnel. - returned: always - type: str - sample: "DOWN" - status_message: - description: If an error occurs, a description of the error. - returned: always - type: str - sample: "IPSEC IS DOWN" - certificate_arn: - description: The Amazon Resource Name of the virtual private gateway tunnel endpoint certificate. - returned: when a private certificate is used for authentication - type: str - sample: "arn:aws:acm:us-east-1:123456789012:certificate/c544d8ce-20b8-4fff-98b0-example" - vpn_connection_id: - description: The ID of the VPN connection. - returned: always - type: str - sample: "vpn-f700d5c0" - vpn_gateway_id: - description: The ID of the virtual private gateway at the AWS side of the VPN connection. - returned: always - type: str - sample: "vgw-cbe56bfb" -""" - -import json -from typing import Any -from typing import Dict -from typing import NoReturn - -from ansible.module_utils.common.dict_transformations import camel_dict_to_snake_dict - -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AnsibleEC2Error -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import describe_vpn_connections -from ansible_collections.amazon.aws.plugins.module_utils.tagging import boto3_tag_list_to_ansible_dict -from ansible_collections.amazon.aws.plugins.module_utils.transformation import ansible_dict_to_boto3_filter_list - -from ansible_collections.community.aws.plugins.module_utils.modules import AnsibleCommunityAWSModule as AnsibleAWSModule - - -def date_handler(obj: Dict[str, Any]) -> Dict[str, Any]: - return obj.isoformat() if hasattr(obj, "isoformat") else obj - - -def list_vpn_connections(client, module: AnsibleAWSModule) -> NoReturn: - params: Dict[str, Any] = {} - - params["Filters"] = ansible_dict_to_boto3_filter_list(module.params.get("filters")) - params["VpnConnectionIds"] = module.params.get("vpn_connection_ids") - - try: - result = json.loads(json.dumps(describe_vpn_connections(client, **params), default=date_handler)) - except ValueError as e: - module.fail_json(e, msg="Cannot validate JSON data") - except AnsibleEC2Error as e: - module.fail_json_aws(e, msg="Could not describe customer gateways") - - snaked_vpn_connections = [camel_dict_to_snake_dict(vpn_connection) for vpn_connection in result] - if snaked_vpn_connections: - for vpn_connection in snaked_vpn_connections: - vpn_connection["tags"] = boto3_tag_list_to_ansible_dict(vpn_connection.get("tags", [])) - - module.exit_json(changed=False, vpn_connections=snaked_vpn_connections) - - -def main(): - argument_spec = dict( - vpn_connection_ids=dict(default=[], type="list", elements="str"), - filters=dict(default={}, type="dict"), - ) - - module = AnsibleAWSModule( - argument_spec=argument_spec, - mutually_exclusive=[["vpn_connection_ids", "filters"]], - supports_check_mode=True, - ) - - connection = module.client("ec2") - - list_vpn_connections(connection, module) - - -if __name__ == "__main__": - main() diff --git a/tests/integration/targets/ec2_vpc_vpn/aliases b/tests/integration/targets/ec2_vpc_vpn/aliases deleted file mode 100644 index 28e84af91be..00000000000 --- a/tests/integration/targets/ec2_vpc_vpn/aliases +++ /dev/null @@ -1,3 +0,0 @@ -cloud/aws - -ec2_vpc_vpn_info diff --git a/tests/integration/targets/ec2_vpc_vpn/meta/main.yml b/tests/integration/targets/ec2_vpc_vpn/meta/main.yml deleted file mode 100644 index 32cf5dda7ed..00000000000 --- a/tests/integration/targets/ec2_vpc_vpn/meta/main.yml +++ /dev/null @@ -1 +0,0 @@ -dependencies: [] diff --git a/tests/integration/targets/ec2_vpc_vpn/tasks/main.yml b/tests/integration/targets/ec2_vpc_vpn/tasks/main.yml deleted file mode 100644 index 6a9f9125688..00000000000 --- a/tests/integration/targets/ec2_vpc_vpn/tasks/main.yml +++ /dev/null @@ -1,232 +0,0 @@ ---- -- name: EC2 VPN Connection integration tests - collections: - - amazon.aws - module_defaults: - group/aws: - access_key: '{{ aws_access_key }}' - secret_key: '{{ aws_secret_key }}' - session_token: '{{ security_token | default(omit) }}' - region: '{{ aws_region }}' - block: - - # ============================================================ - - name: Create a VPC - amazon.aws.ec2_vpc_net: - name: "{{ resource_prefix }}-vpc" - state: present - cidr_block: "10.0.0.0/26" - tags: - Name: "{{ resource_prefix }}-vpc" - Description: "Created by ansible-test" - register: vpc_result - - - name: Create an EC2 VPC gateway and attach it to VPC - community.aws.ec2_vpc_vgw: - state: present - vpc_id: '{{ vpc_result.vpc.id }}' - name: "{{ resource_prefix }}-vgw" - register: vgw - - - name: Create customer gateway - community.aws.ec2_customer_gateway: - bgp_asn: 12345 - ip_address: 1.2.3.4 - name: testcgw - register: cgw - - - name: Create transit gateway - community.aws.ec2_transit_gateway: - description: "Transit Gateway for vpn attachment" - register: tgw - - - name: Create an EC2 VPN Connection, with customer gateway, vpn_gateway_id and transit_gateway - community.aws.ec2_vpc_vpn: - customer_gateway_id: '{{ cgw.gateway.customer_gateway.customer_gateway_id }}' - vpn_gateway_id: '{{ vgw.vgw.id }}' - transit_gateway_id: '{{ tgw.transit_gateway.transit_gateway_id }}' - state: present - register: result - ignore_errors: true - - - name: Assert creation of vpn failed - ansible.builtin.assert: - that: - - result is failed - - result.msg == "parameters are mutually exclusive: vpn_gateway_id|transit_gateway_id" - - - name: Create EC2 VPN Connection, with customer gateway and transit_gateway - community.aws.ec2_vpc_vpn: - customer_gateway_id: '{{ cgw.gateway.customer_gateway.customer_gateway_id }}' - transit_gateway_id: '{{ tgw.transit_gateway.transit_gateway_id }}' - state: present - wait_timeout: 1000 - register: tgw_vpn - - - name: Store ID of VPN - ansible.builtin.set_fact: - vpn_id: '{{ tgw_vpn.vpn_connection_id }}' - - # ============================================================ - - name: Test success with no parameters - community.aws.ec2_vpc_vpn_info: - register: result - - - name: Assert success with no parameters - ansible.builtin.assert: - that: - - 'result.changed == false' - - 'result.vpn_connections != []' - # ============================================================ - - - name: Delete EC2 VPN Connection created with transit gateway - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn_id }}' - register: result - retries: 10 - delay: 3 - until: result is not failed - ignore_errors: true - - # ============================================================ - - - name: Create EC2 VPN Connection, with customer gateway and vpn gateway - community.aws.ec2_vpc_vpn: - customer_gateway_id: '{{ cgw.gateway.customer_gateway.customer_gateway_id }}' - vpn_gateway_id: '{{ vgw.vgw.id }}' - state: present - register: vpn - - - name: Store ID of the EC2 VPN Connection - ansible.builtin.set_fact: - vpn_id: '{{ vpn.vpn_connection_id }}' - - # ============================================================ - - - name: Test success with no parameters - community.aws.ec2_vpc_vpn_info: - register: result - - - name: Assert success with no parameters - ansible.builtin.assert: - that: - - 'result.changed == false' - - 'result.vpn_connections != []' - - - name: Test success with customer gateway id as a filter - community.aws.ec2_vpc_vpn_info: - filters: - customer-gateway-id: '{{ cgw.gateway.customer_gateway.customer_gateway_id }}' - vpn-connection-id: '{{ vpn.vpn_connection_id }}' - register: result - - - name: Assert success with customer gateway id as filter - ansible.builtin.assert: - that: - - 'result.changed == false' - - 'result.vpn_connections != []' - - # ============================================================ - - - include_tasks: 'tags.yml' - - # ============================================================ - - - name: Delete EC2 VPN Connection (check_mode) - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn_id }}' - register: result - check_mode: true - - - name: Assert EC2 VPN Connection is deleted (check_mode) - ansible.builtin.assert: - that: - - result is changed - - - name: Delete EC2 VPN Connection - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn_id }}' - register: result - - - name: Assert EC2 VPN Connection is deleted - ansible.builtin.assert: - that: - - result is changed - - - name: Delete EC2 VPN Connection - idempotency (check) - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn_id }}' - register: result - check_mode: true - - - name: Assert result has not changed (idempotency check_mode) - ansible.builtin.assert: - that: - - result is not changed - - - name: Delete EC2 VPN Connection - idempotency - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn_id }}' - register: result - - - name: Assert result has not changed (idempotency) - ansible.builtin.assert: - that: - - result is not changed - - # ============================================================ - always: - - - name: Delete EC2 VPN Connection - community.aws.ec2_vpc_vpn: - state: absent - vpn_connection_id: '{{ vpn.vpn_connection_id }}' - register: result - retries: 10 - delay: 3 - until: result is not failed - ignore_errors: true - - - name: Delete customer gateway - community.aws.ec2_customer_gateway: - state: absent - ip_address: 1.2.3.4 - name: testcgw - bgp_asn: 12345 - register: result - retries: 10 - delay: 3 - until: result is not failed - ignore_errors: true - - - name: Delete VPN gateway - community.aws.ec2_vpc_vgw: - state: absent - vpn_gateway_id: '{{ vgw.vgw.id }}' - register: result - retries: 10 - delay: 3 - until: result is not failed - ignore_errors: true - - - name: Delete VPC - amazon.aws.ec2_vpc_net: - name: "{{ resource_prefix }}-vpc" - state: absent - cidr_block: "10.0.0.0/26" - register: result - retries: 10 - delay: 3 - until: result is not failed - ignore_errors: true - - - name: Delete transit gateway - community.aws.ec2_transit_gateway: - transit_gateway_id: '{{ tgw.transit_gateway.transit_gateway_id }}' - state: absent - ignore_errors: true diff --git a/tests/integration/targets/ec2_vpc_vpn/tasks/tags.yml b/tests/integration/targets/ec2_vpc_vpn/tasks/tags.yml deleted file mode 100644 index 21ea2cfd618..00000000000 --- a/tests/integration/targets/ec2_vpc_vpn/tasks/tags.yml +++ /dev/null @@ -1,330 +0,0 @@ -- vars: - first_tags: - 'Key with Spaces': Value with spaces - CamelCaseKey: CamelCaseValue - pascalCaseKey: pascalCaseValue - snake_case_key: snake_case_value - second_tags: - 'New Key with Spaces': Value with spaces - NewCamelCaseKey: CamelCaseValue - newPascalCaseKey: pascalCaseValue - new_snake_case_key: snake_case_value - third_tags: - 'Key with Spaces': Value with spaces - CamelCaseKey: CamelCaseValue - pascalCaseKey: pascalCaseValue - snake_case_key: snake_case_value - 'New Key with Spaces': Updated Value with spaces - final_tags: - 'Key with Spaces': Value with spaces - CamelCaseKey: CamelCaseValue - pascalCaseKey: pascalCaseValue - snake_case_key: snake_case_value - 'New Key with Spaces': Updated Value with spaces - NewCamelCaseKey: CamelCaseValue - newPascalCaseKey: pascalCaseValue - new_snake_case_key: snake_case_value - module_defaults: - ec2_vpc_vpn: - vpn_connection_id: '{{ vpn_id }}' - ec2_vpc_vpn_info: - filters: - vpn-connection-id: '{{ vpn_id }}' - block: - - # ============================================================ - - - name: Add tags (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ first_tags }}' - state: 'present' - register: tag_vpn - check_mode: true - - - name: Assert would change - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Add tags - community.aws.ec2_vpc_vpn: - tags: '{{ first_tags }}' - state: 'present' - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: {} - register: tag_vpn_info - - - name: Verify the tags were added - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == first_tags - - - name: Add tags - IDEMPOTENCY (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ first_tags }}' - state: 'present' - register: tag_vpn - check_mode: true - - - name: Assert would not change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Add tags - IDEMPOTENCY - community.aws.ec2_vpc_vpn: - tags: '{{ first_tags }}' - state: 'present' - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: {} - register: tag_vpn_info - - - name: Verify no change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == first_tags - - # ============================================================ - - - name: Modify tags with purge (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ second_tags }}' - state: 'present' - purge_tags: true - register: tag_vpn - check_mode: true - - - name: Assert would change - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Modify tags with purge - community.aws.ec2_vpc_vpn: - tags: '{{ second_tags }}' - state: 'present' - purge_tags: true - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify the tags were added - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == second_tags - - - name: Modify tags with purge - IDEMPOTENCY (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ second_tags }}' - state: 'present' - purge_tags: true - register: tag_vpn - check_mode: True - - - name: Assert would not change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Modify tags with purge - IDEMPOTENCY - community.aws.ec2_vpc_vpn: - tags: '{{ second_tags }}' - state: 'present' - purge_tags: true - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify no change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == second_tags - - # ============================================================ - - - name: Modify tags without purge (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ third_tags }}' - state: 'present' - purge_tags: False - register: tag_vpn - check_mode: True - - - name: Assert would change - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Modify tags without purge - community.aws.ec2_vpc_vpn: - tags: '{{ third_tags }}' - state: 'present' - purge_tags: False - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: verify the tags were added - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == final_tags - - - name: Modify tags without purge - IDEMPOTENCY (check_mode) - community.aws.ec2_vpc_vpn: - tags: '{{ third_tags }}' - state: 'present' - purge_tags: false - register: tag_vpn - check_mode: true - - - name: Assert would not change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Modify tags without purge - IDEMPOTENCY - community.aws.ec2_vpc_vpn: - tags: '{{ third_tags }}' - state: 'present' - purge_tags: false - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify no change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == final_tags - - # ============================================================ - - - name: No change to tags without setting tag (check_mode) - community.aws.ec2_vpc_vpn: - state: 'present' - register: tag_vpn - check_mode: true - - - name: Assert would change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: No change to tags without setting tags - community.aws.ec2_vpc_vpn: - state: 'present' - register: tag_vpn - - - name: Get CE2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify no tags were added - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].tags == final_tags - - # ============================================================ - - - name: Remove tags (check_mode) - community.aws.ec2_vpc_vpn: - tags: {} - state: 'present' - purge_tags: true - register: tag_vpn - check_mode: true - - - name: Assert would change - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Remove tags - community.aws.ec2_vpc_vpn: - tags: {} - state: present - purge_tags: true - register: tag_vpn - - - name: Get EC2 VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify the tags were removed - ansible.builtin.assert: - that: - - tag_vpn is changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id - - - name: Remove tags - IDEMPOTENCY (check_mode) - community.aws.ec2_vpc_vpn: - tags: {} - state: 'present' - purge_tags: true - register: tag_vpn - check_mode: true - - - name: Assert would not change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - - name: Remove tags - IDEMPOTENCY - community.aws.ec2_vpc_vpn: - tags: {} - state: 'present' - purge_tags: true - register: tag_vpn - - - name: Get VPC VPN facts - community.aws.ec2_vpc_vpn_info: - register: tag_vpn_info - - - name: Verify no change - ansible.builtin.assert: - that: - - tag_vpn is not changed - - tag_vpn.vpn_connection_id == vpn_id - - tag_vpn_info.vpn_connections[0].vpn_connection_id == vpn_id diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/__init__.py b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_1.json deleted file mode 100644 index 2b8018f2548..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_2.json deleted file mode 100644 index 540cb22d86b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnectionRoute_2.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 16510d83d40..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 30d8ac08ee9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 97f64fd2526..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index d67ec8ac010..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index c61544026a8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7906c368-77fc-4afc-9ee4-c822dab4864e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:17:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 95032ac3f5b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b9e2ca97-e467-4dcc-a8fc-eff788e8ed49", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:17:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 76d21af3c23..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "249f8e82-8137-4b69-8002-969e880dbcd2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 101822a5d9c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "554aea72-2359-4c35-956b-1cd55c3b1ded", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index a4fd2ecce72..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a9203775-14d5-4020-aa61-f6709cd6c455", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:32 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 6092812e211..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.11.116.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 18, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.13.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c0621c72-8851-4c34-9d3d-7ae4bb5de50f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index ef7b5d3723b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.11.116.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 18, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.13.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "62aae2fc-e699-4a66-9bea-1b4b2b26ce35", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_18.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_18.json deleted file mode 100644 index afa295f3bfd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_18.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.11.116.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 18, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.13.135", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0d20ed3c-a88e-42ba-87cc-f573d22b0a11", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_19.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_19.json deleted file mode 100644 index 320101d50cd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_19.json +++ /dev/null @@ -1,235 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [ - { - "DestinationCidrBlock": "195.168.2.0/24", - "State": "available" - }, - { - "DestinationCidrBlock": "196.168.2.0/24", - "State": "available" - } - ], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.11.116.135", - "AcceptedRouteCount": 2, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 18, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.13.135", - "AcceptedRouteCount": 2, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 23, - "minute": 17, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "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": "d5ce628c-8270-4bb8-b0d9-c68b5834a9a8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:18:48 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 12e36ed156e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "96ef43c9-1210-47a7-87f7-22c85a05eb2b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_20.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_20.json deleted file mode 100644 index bca49264855..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_20.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "Routes": [ - { - "DestinationCidrBlock": "196.168.2.0/24", - "State": "deleted" - }, - { - "DestinationCidrBlock": "195.168.2.0/24", - "State": "deleted" - } - ], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3a0d05ae-dbf7-4885-9b50-db2899bc30d5", - "HTTPHeaders": { - "content-length": "1066", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:18:48 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index b868885c82d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "c4fb8aa0-39ad-4333-9b45-25b48ce5a8cd", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:22 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 619c4866240..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "b728a197-4790-4987-afe1-23ba2d2edf55", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:38 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 9ab3007c3a9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "06bdac8b-d1ec-48d6-9af4-b2d5bf3fa2f4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:55 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 193586bf442..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "baefffe5-7638-423e-84fc-fd21fa7fc6d1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:16:10 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index b8569545efc..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "591329e5-78f5-4655-90c0-bf2b312b54af", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:16:26 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 66e29949af0..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "4e526b69-b5ea-4f05-a81b-831aa5825e18", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:16:42 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 35f035130df..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_routes/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9b06e28e", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.38\n 255.255.255.252\n 30\n \n \n \n \n 52.11.116.135\n \n \n 169.254.13.37\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n OwpaQwQaVjEM2nWZRYOhh3.TxgU5QyG1\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.130\n 255.255.255.252\n 30\n \n \n \n \n 52.38.13.135\n \n \n 169.254.13.129\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oIbjSO1e2SVBqRuW2PzKn.CgsAdSOMME\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "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": "534f5ec5-2d5f-46ac-8216-453fc4cad713", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:16:58 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateTags_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateTags_1.json deleted file mode 100644 index 8af115a96ec..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateTags_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "9661b9b4-e18b-491b-8182-6548bfb680bb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:12:21 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateVpnConnection_1.json deleted file mode 100644 index e7cd28ab8b1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9e06e28b", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0c445bcd-4e37-4368-b45d-b4560bde459f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5236", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index e190e232a71..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8deda3c9-1498-44ef-a663-111e93657c7f", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:22 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 6d975f1ac7c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "e3c0cd84-d327-4a9e-8cac-0361a0afaaac", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "4836", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 6066eb507ba..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3888db16-157b-404a-9fea-fe27e8bd556d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:11:34 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 92d1f1e7f57..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ada7d223-32a6-4b60-81bb-63bca2cb2d56", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:11:50 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index e60cb21cec4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "def174a4-c5c2-4e5b-a5b6-1c2448e869f1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 055f7de90ef..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7c65999e-0e70-4aac-a720-b2216dbe70af", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:20 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index e199f3c0fc3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1153ff47-87b6-40b1-bcdd-ae66c4d4a3ae", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:21 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index f67a916094c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c0748f40-1e33-4f0b-9417-77092bfc9090", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:21 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 8b6d7e2d30a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Ansible-Test", - "Value": "VPN" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 41, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 11, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - }, - { - "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": "16aa6a4d-0fca-4035-b607-c223fc424f81", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:12:22 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 78a05ba8605..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0d463b0f-87ea-4ada-a79a-f2bb0910c31c", - "HTTPHeaders": { - "content-length": "878", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:22 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 5c0dea83c39..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bab29653-3411-49bb-af70-3d7b3284ca06", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 3b47382cf9d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d3732d64-34fb-40eb-bddb-c34e5e571921", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 701f05ae0a9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bd3ccd25-a6d6-44cf-9371-f01ca22d3f57", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:10:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index f25da7060f1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "36906e17-078f-4c15-9e01-af3e233af2d3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:10:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index f8aa9ec9734..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "cab9bb1a-7afe-4c5f-b106-038b10cba813", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:10:31 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index 1a8a4f86aae..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "938c6207-f582-4935-bef5-a9e3b01e18e1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:10:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index e7f974dced9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0bf3fb58-412a-447c-8cf7-af7185ec7f93", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:11:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index dbbefcbc5a6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/add_tags/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9e06e28b", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 34.212.254.7\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n b2DU0T9yhIWbDPukoG2NBtbPNrruDTRm\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.106\n 255.255.255.252\n 30\n \n \n \n \n 35.160.254.75\n \n \n 169.254.15.105\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n FOhYu_zZqXdic2Bvm_dYS03ONJCK.LfP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.212.254.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.160.254.75", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b67d7024-2bad-4283-b440-5519b5541867", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:11:18 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 503422fc263..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9f06e28a", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3239a34a-f3ed-4ba7-9d31-99265ceda2a9", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5237", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 46de4d6ab4c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bdcbf647-c1cc-4971-b133-3e1cd8ee36d5", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 835d53a9d95..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "87d4db59-f8e6-4d4c-9800-7c0bda5ebee2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "4397", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:46 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 7ee030b7d87..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "40e8326d-2f4b-4761-a2f9-011c989b0d11", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:08:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 9e4979b24f6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 3, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5c5688ae-0f6e-4d88-adb6-d9f654c74b42", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:08 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index ba464dc252b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 3, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7a5c5c59-d48a-467b-9414-097a93c923ae", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 57967a5e57e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 3, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "cb26ba43-cfc6-466b-8bde-5e63d58728e0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 6f500939bb7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 3, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1005f435-3e86-461f-a96c-a4f45c32c795", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index 6f500939bb7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 3, - "minute": 9, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1005f435-3e86-461f-a96c-a4f45c32c795", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 55bbb3116e8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "edac5b19-14be-4b2d-ab47-a2279de47d40", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:09:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index a69976b5566..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "07ee7fe5-c16a-4940-b099-3cd39aa9c2c8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index b1254a9ff9a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7f34b516-b810-4a2b-8e9c-2e4ac5ea32f2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:07:03 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 97128118379..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3f0d6abf-421a-4e56-9f19-a95c4639cbe6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:07:18 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 71ccc5f0bfb..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8174eae1-ae94-492c-b8d3-369a912dc994", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:07:34 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 7fba5fbca67..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ab76cd4e-9a69-48f4-8fa6-7b1ea9710f2d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:07:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index e98f0cead5f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "9e552112-f325-4d3e-bb3d-0698b69a9074", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:08:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 9f3c01830c7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1c10aa65-e78f-41e5-bb24-7902b7974bff", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:08:21 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 863aa6350ce..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_nonmodifiable_attr/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9f06e28a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.114\n 255.255.255.252\n 30\n \n \n \n \n 52.43.202.248\n \n \n 169.254.15.113\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n spNJGPBQfzbK8hNvpHNOaaml_paRZNKs\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.126\n 255.255.255.252\n 30\n \n \n \n \n 54.70.185.193\n \n \n 169.254.14.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n yE7hnuavW4SzersgnMyKIoKbd0rE8giW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.43.202.248", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 47, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.70.185.193", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 8, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1963dfb1-564a-4a0c-932c-ecddcdb39d41", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:08:37 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateTags_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateTags_1.json deleted file mode 100644 index 32afe4c15d7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateTags_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8738f361-b294-47d7-a6d7-82d289db5e5f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:06:44 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 0e22d719b02..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9c06e289", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d94359a8-8a4f-4087-b848-27de6253ff6c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5234", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 0d225110b26..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e780e8ce-5417-4a33-a39e-dd78a18b69a5", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 548dcfe963a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "35740449-70e9-4723-b5c4-8c82dc5ec5e6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "3673", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 584a6216a2a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "2d618f80-4045-4951-8d2e-c8d33395a141", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:42 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index f328bac1ba8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c9e48b82-1edc-4aa7-ac4d-c45c7bd4ae19", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:42 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 4137627685e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b346f588-dc55-4be6-95c8-e4708609a4e2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:43 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index b8a3a18fa79..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "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": "a5650999-a5ad-4eea-b407-6d9913738f24", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:06:43 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 56db26d9b81..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5e8c0572-8f87-4708-9aca-997ea3736bc4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:43 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index 84a774dd80d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "One", - "Value": "one" - }, - { - "Key": "Two", - "Value": "two" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "134576b2-43ed-40ac-aefb-c4770a81f587", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6407", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index e2bdf29eeeb..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "One", - "Value": "one" - }, - { - "Key": "Two", - "Value": "two" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 28, - "minute": 6, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5daf9a13-6835-4e6d-be9f-040405da8dff", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6407", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 4f365045384..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "561b039d-ffee-42dc-a390-6dde1ae4fcfe", - "HTTPHeaders": { - "content-length": "990", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index ebd539e3a5c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "29d88495-a6b4-4f53-9ec7-32ac21fd80c6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 9b004c2a971..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a647316d-7079-4a0a-8ad3-91a0a36dc124", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:51 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 9cf6f0ffc36..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f913c208-ac39-4b8e-aba5-1410f2e4d6cf", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:05:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 88eeadf41a5..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "260f7ff4-ec3b-452e-90f3-9ffb3d5f6895", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:05:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 860dcfd3312..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "fb308284-ea47-44f9-af61-3c0271809839", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:05:39 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index d71b6108ec2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5e0c4efb-8f23-4ce1-b1fe-c5bccac45063", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:05:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 6ca0be0346b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "be516d5b-d999-4de7-bd3e-9c0cb5de857c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:09 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 633be4130cd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/check_for_update_tags/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9c06e289", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.163.112.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n HxHFvA2bBdWo_sBRDHLiRCDviolMhaMR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.42\n 255.255.255.252\n 30\n \n \n \n \n 54.148.246.46\n \n \n 169.254.15.41\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n YANkpCz981zsiW_QkZCFrjN1QAiKm73G\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.112.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 36, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.148.246.46", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 57, - "minute": 5, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "007948c6-bac8-4f43-8b80-5e7c32f2d1e8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:06:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.CreateVpnConnection_1.json deleted file mode 100644 index c7f4a8a970d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9006e285", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e312dbd3-7956-4b0e-bb66-29a85e65e477", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5233", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 933d9868223..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "fd2ddf0e-f378-46d7-92e7-1b6008d98b04", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:11 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 4c2a4f72bc4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "bcdba325-fd96-4c4b-bb15-dc9a88c456ae", - "HTTPHeaders": { - "content-length": "1917", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 25f9a24c45a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ee75ebe8-0587-49b5-a231-0d31f713e3be", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:55:39 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index fde1cd4c02e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5cbe30a2-8771-4116-ba7d-78c32a06546e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:55:55 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 3c37b32a2bb..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 56, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3d3d8178-0359-4c80-85c7-410411a532f4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:11 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index e13b27d041c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 56, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "67e4f285-2875-4615-ba4e-a36105d24dd7", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:11 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index beaa98a1c0a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 56, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a31cc536-1f4b-46d7-a91d-c8d0909eb897", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:11 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index cf88d5b8d0f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0cf4c8bf-4f69-4f9f-b6ae-aecbbcb60081", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:12 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 4803740289d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "07019e0f-0012-47dc-8f86-950bb2b36e52", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 5e69b0584df..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8174c5d9-d54a-4173-aef3-5e9c3e86bac6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 47ad906096b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "46432541-20bd-444f-ab0a-38db7c36aab5", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:54:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index f7137760d33..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "84598175-301b-40e4-884d-4e4777267375", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:54:21 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 69249db308c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "092fbf9c-c529-4f71-855e-20b4289dc6f4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:54:37 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index da6185154f4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6d1bb01f-6afe-418c-94c2-7d83c4f94a4d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:54:52 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 284e8b5492f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "830ae224-6cdf-46e2-817b-92bcd5fa86ec", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:55:08 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 3f1a6a680f2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9006e285", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 52.24.101.167\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n ZqeYNh0tOtKAbA2GjOnfP1ckplrsKR0I\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.58\n 255.255.255.252\n 30\n \n \n \n \n 52.40.126.9\n \n \n 169.254.14.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 2hNRbfughR8JKpllR1mEg0uPRckXd0bR\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.24.101.167", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 10, - "minute": 55, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.126.9", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 34, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "51ec304a-3c90-4bbe-86dc-56d87d693ef6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:55:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 45abc721826..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9306e286", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "541d2997-d79d-42b4-af0a-7d49754a99a0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5235", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:14 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 46c92879a6f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e9b91aeb-4237-44ba-9367-b9d240b3d8ba", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 5a1e79ea42e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "fc165fe7-372e-4517-a256-5e12138aa890", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "2356", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:14 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 06d4d8371d6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "9e46eaa5-4f5b-42ff-ada0-d90504c0bd9c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:58:20 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index fc46769aff2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a3d938cd-ea4f-4739-87df-956db661c1a3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:58:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 0a7045f11ed..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c49c942f-0408-4d6d-b04a-1778dc3a3c43", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:58:52 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 385a832a5e4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "18debff6-05c3-44ad-8106-1c1099fba0e0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index cb313c523ce..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6fb7285e-c4ff-4f11-bdbc-464efbb66f15", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index 4749c57d5dc..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "cffd1787-58a7-4506-b14b-0bab509b8a1a", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index de15a8f21dc..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "cb19e2ba-a42a-47d3-a20f-9ea9521978f4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:23 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 33283151024..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "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": "de97618e-a5a7-4efd-925c-6ca24b2603c6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:59:24 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_18.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_18.json deleted file mode 100644 index 505d1a36a5b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_18.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "aa76261f-ab0e-4bd4-a412-a59e7fdfb6db", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_19.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_19.json deleted file mode 100644 index caac14d220a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_19.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 58, - "minute": 58, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 0, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "9885231e-ee67-49cb-ada6-e8eb3c772e6b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 7e870bbe37f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ca30a295-dfce-49f8-a1d1-f5af0dffd1c2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:14 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_20.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_20.json deleted file mode 100644 index 0f39c5aa638..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_20.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "204f247b-ad5a-4917-bc3e-a793bf09bd48", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 1af37e30570..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a8ebc328-fea9-430d-a546-c5e24d447cef", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index e8ab98030aa..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "edf29e1c-30a1-4d11-9e5a-feddd7f082ab", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:56:46 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 5e8203fec88..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "51c5182c-f83e-496b-ba45-e4972064d690", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:57:01 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index cf06e0ad472..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b9255f48-f509-42a9-8c0f-6626a492b46e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:57:17 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index e7965bd025f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bab0deee-150b-4952-b949-4acefe6ebafe", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:57:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index e7c600455d1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c90d25a2-7e6c-42cc-8f5a-17ab0c58e720", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:57:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 17bd7e73954..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/create_connection_that_exists/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9306e286", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.15.146\n 255.255.255.252\n 30\n \n \n \n \n 34.213.145.113\n \n \n 169.254.15.145\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n iNsKYUCSTSepYCf0igJVeirisatbjYiw\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.86\n 255.255.255.252\n 30\n \n \n \n \n 52.40.202.36\n \n \n 169.254.14.85\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n KZpfPULAV7ahI1aUspYf9oy4412BFNoP\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.213.145.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.202.36", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 15, - "minute": 56, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b1da658d-a66a-4def-873f-193ede827765", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:58:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 21408b7a6da..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9d06e288", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6b76950f-28f0-4e74-9b61-14780c62ced9", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5234", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index a27bc82cf9f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e0e829b9-86e9-4b26-aa01-ccacf0a77edc", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:31 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index fc618a3241d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "149f4f23-9fec-4995-acc5-0db46d4d698f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "3234", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 958e8a9821a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5bb89e85-8f96-43b1-96e3-0fd6c00f9b14", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:03:58 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 265a34962da..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "40ebbb4a-0a18-494e-9666-3481637027fc", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:14 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 71caefcf584..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 19, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a86ec01a-5ea5-4fba-8123-5567a04a3596", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 037ba1a1d95..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 19, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6c96cc41-2657-47a0-b437-a79b0631bbd8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 7e74e95fbe4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 19, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1f605613-e582-4b3b-8838-e9fcf0c58e67", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index 5bbb025be0a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 19, - "minute": 4, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "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": "9e38c8b0-f339-463a-b92f-aa90fd3315e8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:04:31 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 786f224ead0..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0d2390b1-83fb-40f6-ab75-adf605a9a3fc", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:31 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 7abf137d37f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e29c19bc-d875-4b6b-83b2-bc2fdfb87bf0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index e7dc1a4a4f2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "686ef8bb-a95e-4b86-b814-f272c54c8ea5", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:02:09 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 3e3f889f906..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c0583208-1fa5-4c6e-8970-8dd2f3ecd62d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:02:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 59d520d1c43..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b10cdcbf-b16e-43c0-99b1-2fe2ad8db09b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:02:40 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 06ce44a44db..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "93d3176a-6d6a-44de-8a20-91bd4a64b3a3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:02:56 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index e15dc61ebf8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "329c10c9-0ee8-48d3-acb2-b48668ddbab6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:03:12 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 806c717d2f4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bf983aa1-224e-470a-b0a1-add5bda488b5", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:03:27 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 8e7c3eccfb9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_connection/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9d06e288", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.166.247.180\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n vMOOPmaOf_RaI5CYB1HP1LSN7fKVajOB\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.126\n 255.255.255.252\n 30\n \n \n \n \n 35.167.45.7\n \n \n 169.254.12.125\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n DP5uNzsBDGM2M79qOw0w4uttdQvvTmuE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.166.247.180", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 54, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.167.45.7", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 29, - "minute": 3, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4857fe1d-dc96-4168-a7e1-9fbb73282ab2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:03:43 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_nonexistent_connection/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_nonexistent_connection/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index eebfb3a70bf..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/delete_nonexistent_connection/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "VpnConnections": [], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8218208e-030d-4aea-9ae5-6e8534efe1ef", - "HTTPHeaders": { - "content-length": "243", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:04:32 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_1.json deleted file mode 100644 index 9f4209eea08..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ccf8e327-eeee-4db8-9ae6-006a8fe5628c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:48:04 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_2.json deleted file mode 100644 index 062840fc216..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateTags_2.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0e1859bf-b896-4a30-ab94-849441b914f9", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:48:05 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_1.json deleted file mode 100644 index c81bb5f509e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-6a06e27f", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5db2e287-2d09-4a50-aaa1-a4615ece9bd6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5235", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:03 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_2.json deleted file mode 100644 index 69c39a89a83..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.CreateVpnConnection_2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-9e13c880", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9506e280", - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7533469a-5979-42fd-94de-c33a66d34065", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5234", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index cc17b12afc6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5670f275-006d-48db-91e0-72058d9d881f", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:06 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_2.json deleted file mode 100644 index d2fd5524e8f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DeleteVpnConnection_2.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "35514550-20a7-4f91-b175-d21182ad8bdd", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index d9d2f28724b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "edae433c-c2f8-475a-95f9-5c3c00d0b54b", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:03 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index aeb3224679e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a30a934b-5716-4d4d-958a-7e780e333a24", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:08 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 3132117c7cd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "99b8bb83-e3f0-4b87-9121-5d862e2627f0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 89a6fd077d6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c6d1bf65-4f3e-4f7f-9274-281ebf433b2b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 6c50e6b66c8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "28733dff-592e-4c48-94f9-b4d56bbc246a", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index c8ad595dcb8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d38f939c-ded7-416b-a563-88161b71be1c", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index 06fd99e110b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "af7c54ed-ca7f-4013-adee-16133b822d53", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:26 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index ef0845944ac..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "24133f7b-2620-4f2b-98b5-427aaa5d04bd", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:41 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 1a5bc6e7858..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5ac6d438-cae6-40cc-9c63-81073def54be", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:45:57 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_18.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_18.json deleted file mode 100644 index 77dbba5bba1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_18.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "968a8ebd-ed59-4a8d-a314-83a6430bebd3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:46:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_19.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_19.json deleted file mode 100644 index 6c01e2c67f6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_19.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "07f96ac8-f5ec-43e4-ab7d-6b989e071808", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:46:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 2f51af37102..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b1b10bb7-e85c-44ca-b74e-85352550db52", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:04 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_20.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_20.json deleted file mode 100644 index 30ecbe4b4e2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_20.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0750711f-fafd-4323-a685-65329a0a9302", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:46:43 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_21.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_21.json deleted file mode 100644 index 844fdab041c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_21.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ec319bcc-2a61-43d3-a69c-9d94235aeb56", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:46:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_22.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_22.json deleted file mode 100644 index be8c4aa55b3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_22.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6fe5a339-9436-4077-a201-dab2b7b95039", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:47:16 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_23.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_23.json deleted file mode 100644 index 0a98ebdf353..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_23.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7897be6a-fc15-4608-bac0-c3cf7bba28c6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:47:31 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_24.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_24.json deleted file mode 100644 index d304915288f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_24.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 26, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "898cc57f-ab56-47d7-920e-995814f532a4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:47:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_25.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_25.json deleted file mode 100644 index 79b0739f098..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_25.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "134c741c-757b-4a87-9a34-c8f1848ef33e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_26.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_26.json deleted file mode 100644 index 49b4c09ab6d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_26.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8009af6c-6d35-45fa-a94d-5384d3b92573", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_27.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_27.json deleted file mode 100644 index 059a154eebd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_27.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7ef9e804-1eb9-4486-9285-584204a824a3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_28.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_28.json deleted file mode 100644 index 76ad9ba8ec6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_28.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "05c178e1-3f1f-4e0f-bb43-027d2b41f56c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6561", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:04 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_29.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_29.json deleted file mode 100644 index 0b2918289ea..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_29.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "92db5b5e-d7e6-4cfd-9d62-abdda5a6083c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:04 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 9f85a23b561..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "2a3a4fd7-189b-43b0-8a44-82ebd52dba01", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:19 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_30.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_30.json deleted file mode 100644 index cad1188b977..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_30.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Wrong", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 6, - "minute": 45, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ffa7e24d-e004-4b4e-9317-80b97dc89cc8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6288", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:04 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_31.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_31.json deleted file mode 100644 index 94f87c7d060..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_31.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - }, - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0cebf278-197b-4bdd-b8d9-c44250637154", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6559", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_32.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_32.json deleted file mode 100644 index bba62063290..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_32.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4bc3a17b-6896-4f8a-b3bc-07cbbf88e9e2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:05 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_33.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_33.json deleted file mode 100644 index 630ea016d7f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_33.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7371d436-849d-4717-a284-e33389f8982d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6288", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:06 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_34.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_34.json deleted file mode 100644 index a294fb7421c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_34.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.15.138\n 255.255.255.252\n 30\n \n \n \n \n 35.164.115.77\n \n \n 169.254.15.137\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n LOIUEOybh.7onRDbkA0jIjVgwAanpstb\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.13.14\n 255.255.255.252\n 30\n \n \n \n \n 52.32.43.175\n \n \n 169.254.13.13\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n gVdPYm2D00u04GU8PlcRg8NayCIB.8hu\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.164.115.77", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.32.43.175", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 49, - "minute": 47, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b645a20e-3689-4a13-8af1-2dcc38f70a9b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6288", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:06 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_35.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_35.json deleted file mode 100644 index 42ea2ec0db8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_35.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6e80e598-aeb2-4ae1-bfe3-2383505379cc", - "HTTPHeaders": { - "content-length": "871", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_36.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_36.json deleted file mode 100644 index 9a97df1f0eb..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_36.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f4072f73-ff8c-49ed-89a7-eaed0389b11a", - "HTTPHeaders": { - "content-length": "873", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:08 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index ad74fa0620f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ed467717-f22a-4c33-a9e7-0f871d1b35b2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 9f2bb01f3fa..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "49f28398-4458-4c9d-9c04-598c9d8e76bd", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:50 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 58c773d2c01..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bebb46be-76a1-486b-a9d0-7f0e33f68294", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:44:06 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index a15fd0e3264..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "090f369a-71f4-4e60-b860-c1f5cc52a5ab", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:44:21 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 2765a9f26f7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f98ad6e5-e3c6-48ae-b6c1-d9ed9824ea88", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:44:37 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 9b6e2ada236..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_filters/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6a06e27f", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.194\n 255.255.255.252\n 30\n \n \n \n \n 35.163.160.156\n \n \n 169.254.14.193\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oC1SMX2FbEbY71f2sWq3DPOQELqt4h0p\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.13.90\n 255.255.255.252\n 30\n \n \n \n \n 52.33.241.73\n \n \n 169.254.13.89\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n oNaPmhtWjtzz4Wy3TolB1e5C1UK6_6t9\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.160.156", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 4, - "minute": 43, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.33.241.73", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 53, - "minute": 44, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ef918599-de1c-40e5-95ab-2a4b16356455", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:44:52 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_1.json deleted file mode 100644 index 52ca9673111..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f39595f7-c4f7-4e7c-9681-83e5619e0d84", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:50:34 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_2.json deleted file mode 100644 index 3aeb21cf6fe..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateTags_2.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "61647610-452d-4a99-abce-d8e61a6ada95", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:53:28 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 17aca9388e3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9706e282", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "080cc661-516b-4d6c-806b-64f54b232f57", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5235", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_2.json deleted file mode 100644 index 0080abe9dc4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.CreateVpnConnection_2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-9e13c880", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9606e283", - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d49ec118-3438-40cb-bcb5-8e98d9676688", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5236", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index ddce99bb1ed..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "995f99a1-42d4-4d0f-b216-5e54c7052a71", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_2.json deleted file mode 100644 index 65af7a36663..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DeleteVpnConnection_2.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "701a2c53-ef2e-4b77-bb0c-b0e4904dc714", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 59bbeec791c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "22e251ed-4e2b-49a4-8747-fcc9c39ad99e", - "HTTPHeaders": { - "content-length": "1310", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:12 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 334a32fc447..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 9, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "66c5b212-f514-4075-ab41-6c70424d13ef", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:17 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 27cf0e60f48..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 9, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4fa0db43-456e-491d-a6f6-2a2a262bc068", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 12afe81e0da..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 9, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "521f0a1b-e935-40c2-b896-b13b5b6f2d1a", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:34 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 0c5d8ca7849..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 9, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "da5b58d2-4042-4ed5-8faf-daceb3d706c6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6290", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 861ebd74b53..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - }, - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d4e21661-391e-48b9-80f8-6c04a13a653e", - "HTTPHeaders": { - "content-length": "1312", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:35 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index d54c65027c0..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3b4a1671-80a6-45a7-b620-885f88f5fd77", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 41fc9a238f3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "55115858-ebfd-4329-85e8-5bd15b31e62d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:51 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 1d82c71110a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "241b82e1-4611-495a-952d-21fce8354e6e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:51:07 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_18.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_18.json deleted file mode 100644 index 0b0861b6896..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_18.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "898fcbc8-4c89-49cd-943f-7c2f0e3a73b7", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:51:22 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_19.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_19.json deleted file mode 100644 index c054486c7a3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_19.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "2f8be95a-d488-412c-9bc3-bca1c66c3ccf", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:51:38 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 9900b9b0a8b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bd0e67d4-f5a5-4e98-a388-e80af982bebf", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_20.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_20.json deleted file mode 100644 index 39ddd25ed78..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_20.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "66fe299d-2a18-4693-bdc3-00475c529a7f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:51:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_21.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_21.json deleted file mode 100644 index cd711acfe3f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_21.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b5ebc50e-0f1d-4d96-87c1-bf222c186911", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:52:09 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_22.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_22.json deleted file mode 100644 index 490f336b65d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_22.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4f123753-f797-4aff-83f2-edfdb31b679f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:52:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_23.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_23.json deleted file mode 100644 index 78223c6e995..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_23.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ff8ad5d4-4798-44f2-b89a-100387a1e1bc", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:52:40 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_24.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_24.json deleted file mode 100644 index 2a98e206985..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_24.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c69b6d28-6925-4b09-9a23-c58bd23a952d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:52:56 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_25.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_25.json deleted file mode 100644 index 069b679c245..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_25.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 36, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "30239673-06bd-4122-8187-834e098e3035", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:12 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_26.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_26.json deleted file mode 100644 index 95f632a8339..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_26.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 14, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a35493d8-79cf-44ce-a5d9-a322984952bb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:27 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_27.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_27.json deleted file mode 100644 index f3e3744186d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_27.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 14, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a0d807f4-6947-474e-86bc-f1d978a1e6c6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:27 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_28.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_28.json deleted file mode 100644 index 0eb348b26b7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_28.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 14, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "123f065b-f06a-4464-93e9-f0c9224825dc", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6290", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_29.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_29.json deleted file mode 100644 index 15182c9cab1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_29.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.142\n 255.255.255.252\n 30\n \n \n \n \n 34.215.4.190\n \n \n 169.254.12.141\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n l9lo.f40_7mQk6G.Xe1tZ3HnYaGrqeis\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.12.214\n 255.255.255.252\n 30\n \n \n \n \n 35.163.123.41\n \n \n 169.254.12.213\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n By_kbJfKdll6PTY4W.pMr7CC0gqeP5U2\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.215.4.190", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 41, - "minute": 52, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.163.123.41", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 14, - "minute": 53, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - }, - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 9, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "State": "available" - }, - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c6c78a9a-e004-4766-8ef6-16c52b25475d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 12:53:28 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index fb9619cdcd6..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "2b96bd10-97eb-44b0-9ab9-548b0ddf03b9", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_30.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_30.json deleted file mode 100644 index 4dd608bc648..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_30.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1b613de0-c6e1-48d3-9c9d-b94de070ccda", - "HTTPHeaders": { - "content-length": "873", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_31.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_31.json deleted file mode 100644 index 6e537944b51..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_31.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "0e36b69f-39b7-40ac-8273-8003211fc5f5", - "HTTPHeaders": { - "content-length": "873", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 4a13f61e8c3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ace0b6a9-e76f-4198-a077-1e2dffbc6c2e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:43 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 3695e62250f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "434a478c-99ab-4da1-9446-0190d615553f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:48:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 337959a7984..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "406c570c-4ca9-4657-aab6-c3aec6943a24", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:49:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index 171cce65798..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bc262f2c-187c-45ff-bd0e-b8287760d26e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:49:31 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 9b63c6f5f0c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "99bc2889-52c9-4933-ba37-9fc2524a6ec1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:49:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index a6472849102..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_insufficient_filters/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9706e282", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.26\n 255.255.255.252\n 30\n \n \n \n \n 34.214.254.212\n \n \n 169.254.14.25\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n AwW2EGlLGc4apzToCgrKQ2e4RexOSfj8\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.174\n 255.255.255.252\n 30\n \n \n \n \n 52.38.34.113\n \n \n 169.254.14.173\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n 5Slu8XDI5h2_TGXkCw_E2wAiRzyz3yIn\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "34.214.254.212", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 1, - "minute": 50, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.38.34.113", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 48, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "26fd3e6c-8c41-4e3b-8bda-47ee9b1ef167", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:50:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_nonexistent/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_nonexistent/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 288d2313bc4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_nonexistent/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-9606e283", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "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-9e13c880", - "VpnConnectionId": "vpn-9506e280", - "Category": "VPN", - "Tags": [ - { - "Key": "Correct", - "Value": "Tag" - } - ], - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "79832782-f6e3-483a-b848-306c43731940", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "2087", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:53:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 90b1f2dd202..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-6f06e27a", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ef16cc59-db82-49e8-b39f-5ed5035a6fba", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5236", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_2.json deleted file mode 100644 index dbb692fb60b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.CreateVpnConnection_2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-9e13c880", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-6906e27c", - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7311c482-6425-4bf5-b764-06652c9ea4b8", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5232", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:37 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 7d346168ad3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "73286a1c-f428-4617-9b23-b0af8e8e2657", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_2.json deleted file mode 100644 index cde1d023770..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DeleteVpnConnection_2.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6ff1e7ac-f41b-45f8-a925-99f12f15df72", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 079fe193fc1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "VpnConnections": [], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "784ab580-8495-4cff-b8a9-a70474686d99", - "HTTPHeaders": { - "content-length": "243", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 5a14e8385b3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "45a3a55f-4577-4292-9c88-6b20c8968bdb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:39:18 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index d70a4c405e4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "dea0cb15-a87a-4340-836d-6cd460b2243e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:39:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index 731805d6b95..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c9f63be4-079d-4dcd-adb8-ab18f8787a9c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:39:48 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index b7406b64cb7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "75e6bdc7-dab7-428c-900b-f8566fcdd8b4", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:04 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index a5f05224ef3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "02cad910-6d43-4d55-a031-4055a30bf411", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:20 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index f663512223e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 25, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "18e05aff-5c66-4e73-97bd-a63061019ed2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 53623b87b39..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 25, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "6df83c0e-40bd-41ed-8149-960375e0b0cf", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_17.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_17.json deleted file mode 100644 index 62f01fc341b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_17.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 25, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a6f596eb-c6a8-4e31-8e1a-bc1ae80443c5", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:36 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_18.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_18.json deleted file mode 100644 index 2336ab51cb7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_18.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "VpnConnections": [], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "dde896f2-98ea-45d2-8208-b71b46a88cd7", - "HTTPHeaders": { - "content-length": "243", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:37 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_19.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_19.json deleted file mode 100644 index 3741da6497e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_19.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "22bd50ce-bac1-4b63-bef5-d91e10a27cb6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:38 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 7552a17aae8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "acad86c4-655b-488f-a552-f04c60502dcb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_20.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_20.json deleted file mode 100644 index 448959205db..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_20.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4df8324c-5d9f-436e-b9c8-31d123170bcd", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:40:53 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_21.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_21.json deleted file mode 100644 index fcfe29941d3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_21.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "b2fddbbe-070c-40c4-b3ff-31b4ab039a93", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:41:09 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_22.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_22.json deleted file mode 100644 index 819d4fb183c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_22.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e4575384-f0ae-4ddb-a6f0-60bf09ae3431", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:41:24 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_23.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_23.json deleted file mode 100644 index f7b5de10de3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_23.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3c2df2d8-21ff-435b-a25e-309708e5d728", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:41:40 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_24.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_24.json deleted file mode 100644 index d2b789983e0..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_24.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "47bedfce-6c4f-40e5-8d3c-2f7618670665", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:41:55 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_25.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_25.json deleted file mode 100644 index bf69c4d5798..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_25.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "25fb78ea-cc25-427c-a1bb-c9bc06a0fcf0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:11 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_26.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_26.json deleted file mode 100644 index 005ca53be1a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_26.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "dfd25f0b-3331-46b0-9594-739e54b3633b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:27 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_27.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_27.json deleted file mode 100644 index a8dc687f131..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_27.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 31, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 37, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e0ce84a4-b7fa-4c51-89c5-f689f5ab05e7", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6116", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:42 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_28.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_28.json deleted file mode 100644 index 207caacdcff..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_28.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 31, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 46, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "fbb5d0bf-db4a-4865-b74a-15c9d5dc9acb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:58 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_29.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_29.json deleted file mode 100644 index 397ea49ca36..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_29.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 31, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 46, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "06310935-6410-44da-ab8a-0a3a77b2ed02", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 6c2a473a761..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "bc0abc0d-3217-4a9c-91b7-4cf7d1612270", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:29 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_30.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_30.json deleted file mode 100644 index 86a37a4779e..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_30.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-9e13c880\n vgw-32d70c2c\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 5.4.3.2\n \n \n 169.254.12.78\n 255.255.255.252\n 30\n \n \n \n \n 52.40.19.84\n \n \n 169.254.12.77\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n uckHBwcFkdkno4gf5nZHDLCNIM7WXFaW\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 5.4.3.2\n \n \n 169.254.15.46\n 255.255.255.252\n 30\n \n \n \n \n 54.149.194.122\n \n \n 169.254.15.45\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hyFjiPPXAKg6WDjLQkfT7be6lPSK1.TE\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.40.19.84", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 31, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "54.149.194.122", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 46, - "minute": 42, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-32d70c2c", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5ce492e4-a36b-4148-9db4-1cd1390f4d94", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:42:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_31.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_31.json deleted file mode 100644 index c5d67fffc90..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_31.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 25, - "minute": 40, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 39, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "fab3e62a-b821-40cc-ac9d-3b589ddd7be9", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6124", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_32.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_32.json deleted file mode 100644 index 66db65f6bf7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_32.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c45356e9-b255-4886-bdeb-a200225b3066", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_33.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_33.json deleted file mode 100644 index 0abc8171746..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_33.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-9e13c880", - "VpnConnectionId": "vpn-6906e27c", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-32d70c2c", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "39d1181a-5c5b-4d7e-97cd-dcd5b83bc0b3", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:43:00 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 2c4135812dd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ed7c7fbb-b31b-4244-b588-e90821e65bff", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:45 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 6434571b265..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "096fa68d-3ed3-4483-b323-4b03cc2c1ebd", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:37:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 5e30b888c19..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e18b7cde-2baa-466e-a5ac-ac5cd94db089", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:38:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index c84d4c084d3..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5845f7f3-a0ea-4948-b3ee-d9ee3fc0f303", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:38:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 3b729eccb5d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4a29bfaa-c800-4ed7-858c-9ea4fc8de167", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:38:47 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 87dd4df8e48..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/find_connection_vpc_conn_id/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-6f06e27a", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.14.34\n 255.255.255.252\n 30\n \n \n \n \n 35.161.239.138\n \n \n 169.254.14.33\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n XGAHy.QMOtIujnLKHvwNdGivflNQGbxc\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.12.230\n 255.255.255.252\n 30\n \n \n \n \n 52.26.108.105\n \n \n 169.254.12.229\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n hk9hgD21aBIIJSz4809scBxMT3dsX_0h\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.161.239.138", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.108.105", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 13, - "minute": 37, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "8c873704-b869-4dc2-890d-ebc7d62d7963", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:39:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.CreateVpnConnection_1.json deleted file mode 100644 index 1262491d43b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9206e287", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "686913e8-485a-4de0-880d-60a0c2444f65", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5235", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 2f8b7802e67..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ba0807f4-446e-471b-ad25-dc627d0917ff", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 3fe09832d7f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "e85e108f-c5c6-4627-a409-ae5e57519e68", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "2795", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index 5726948840b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 32, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "fe0912ad-2a87-4f24-a2e9-ecce88edd3a6", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:33 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index c1593d62e4b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 32, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "3d9c0acf-a5e7-41cf-a929-17a804c23cf1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index f1d5f5b426f..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 32, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c59001df-f7a6-413d-8ba2-a3a3e1f3a08c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 686dfef8424..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 32, - "minute": 1, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f9a5a6a9-a952-4183-8600-f0d709ca5902", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:49 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 5a65e1dcb4d..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ad7f2a01-f5a2-41cb-b572-e55cfff6f0fd", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:50 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index b2bbc32a63b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "ffd0c558-1fb0-4e47-8a78-ad93241a8909", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:50 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index 4ce279f36de..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "aefdae0c-715c-468d-b209-df744593d702", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index a2d6c448ba0..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5e7d2b85-1951-4fa5-8003-dcae818ab111", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 9075e75e642..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "648be063-6a5d-4871-8ccf-047275662818", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 12:59:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index ba6c47c51ac..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "e5f1a740-ef05-454b-a8ce-26c6c96d6822", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:00:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index 089a0a16973..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "240aa4a8-495f-4e22-973a-d1b8ca85a7b7", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:00:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index a93c555c8b2..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "71e9943b-886d-442f-bd0d-eb50d92522e2", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:00:46 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index ca810951ba1..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "518172bc-6355-4988-8a92-14c589fbfc6f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 2af22bb65b8..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/modify_deleted_connection/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9206e287", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.13.206\n 255.255.255.252\n 30\n \n \n \n \n 52.26.213.112\n \n \n 169.254.13.205\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n PyWmFHtlfQSgohtXYC1MXVSE9i80QMOK\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.14.226\n 255.255.255.252\n 30\n \n \n \n \n 52.36.80.33\n \n \n 169.254.14.225\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n K_tnJM.Z5LxS.Y6vpeXIaCLdetEZik__\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.26.213.112", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.36.80.33", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 12, - "second": 28, - "minute": 59, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4679b3c8-f187-4207-81fc-79982e721cb0", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6118", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:01:18 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.CreateVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.CreateVpnConnection_1.json deleted file mode 100644 index f278854b925..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.CreateVpnConnection_1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "data": { - "VpnConnection": { - "CustomerGatewayId": "cgw-6113c87f", - "Options": { - "StaticRoutesOnly": true - }, - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "VpnConnectionId": "vpn-9806e28d", - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - }, - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f5a54fbe-aabf-4b5e-82f6-0fc9cd13e50c", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5234", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteTags_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteTags_1.json deleted file mode 100644 index bf0afd35e49..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteTags_1.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "2714ec51-d05e-4034-8401-2c99f5247755", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:15:02 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteVpnConnection_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteVpnConnection_1.json deleted file mode 100644 index 5cdff416eb9..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DeleteVpnConnection_1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d635286c-b0e0-4048-9edd-5370c643aab4", - "HTTPHeaders": { - "content-length": "239", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:03 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_1.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_1.json deleted file mode 100644 index 0e552275c2c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_1.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "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": "0a7676c6-68de-4301-b107-5ef0fcf5136e", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "5448", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:25 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_10.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_10.json deleted file mode 100644 index f5afd3ed161..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "68efe4ef-9c50-414b-bd65-cbf418c25f72", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:14:30 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_11.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_11.json deleted file mode 100644 index 56c742fafed..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 38, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7b7f58cb-4e94-4cb2-9d93-ad6e82949476", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:14:46 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_12.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_12.json deleted file mode 100644 index fd2890b7efe..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_12.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 38, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "1d06bb9d-234a-43b4-9465-0f0d6769e7cb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:01 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_13.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_13.json deleted file mode 100644 index 18c7b173fe7..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_13.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 38, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d967fe54-4131-4d3c-8bec-ca51039d51f5", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:01 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_14.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_14.json deleted file mode 100644 index 3373af1da70..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_14.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 38, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "9bdf35c6-373f-4a9f-a86a-4f01cd15f742", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6122", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:02 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_15.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_15.json deleted file mode 100644 index bfe18c03743..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_15.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 38, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 16, - "minute": 14, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "available" - }, - { - "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": "bcdce0f0-10da-4e78-8fbe-ac147d62013b", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-type": "text/xml;charset=UTF-8", - "server": "AmazonEC2", - "date": "Mon, 16 Apr 2018 13:15:02 GMT", - "transfer-encoding": "chunked" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_16.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_16.json deleted file mode 100644 index 1e44c3c514b..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_16.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VpnGatewayId": "vgw-35d70c2b", - "State": "deleted" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "4d572583-1b0c-431f-a9f9-7acd45d588e8", - "HTTPHeaders": { - "content-length": "705", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:15:03 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_2.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_2.json deleted file mode 100644 index d337c7f6938..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_2.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "c8f872e5-ef0e-4517-8ab8-9ef0788a04bc", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:26 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_3.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_3.json deleted file mode 100644 index 1d65fb2c689..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_3.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "d99d51ce-6b82-4f53-ade0-d4967b769c93", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:41 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_4.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_4.json deleted file mode 100644 index 3c63747c06c..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_4.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f43f34f0-e4d7-4888-9037-2d3f99a30f8f", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:12:57 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_5.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_5.json deleted file mode 100644 index 4b1ed8e7fd5..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_5.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "5b03354b-e15d-4cb7-92e3-b359870a99a3", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:13:13 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_6.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_6.json deleted file mode 100644 index f10651beffd..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "a022a838-4264-4f08-b309-bea8058706ae", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:13:28 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_7.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_7.json deleted file mode 100644 index 6f5406b365a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_7.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f9ae9cd9-ce79-4245-863b-79fd5b39cdc1", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:13:44 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_8.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_8.json deleted file mode 100644 index 25e0713fdb4..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "57806378-a669-45b1-96ec-ab29ae8a47bb", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:13:59 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_9.json b/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_9.json deleted file mode 100644 index 98f25682a2a..00000000000 --- a/tests/unit/plugins/modules/placebo_recordings/ec2_vpc_vpn/remove_tags/ec2.DescribeVpnConnections_9.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "data": { - "VpnConnections": [ - { - "CustomerGatewayId": "cgw-6113c87f", - "VpnConnectionId": "vpn-9806e28d", - "Category": "VPN", - "CustomerGatewayConfiguration": "\n\n cgw-6113c87f\n vgw-35d70c2b\n ipsec.1\n NoBGPVPNConnection\n \n \n \n 9.8.7.6\n \n \n 169.254.12.22\n 255.255.255.252\n 30\n \n \n \n \n 35.165.156.252\n \n \n 169.254.12.21\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n z2x1x6uE.UaqsFoLbfNuGIzp0rZTLiT.\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n \n \n \n 9.8.7.6\n \n \n 169.254.15.58\n 255.255.255.252\n 30\n \n \n \n \n 52.39.145.205\n \n \n 169.254.15.57\n 255.255.255.252\n 30\n \n \n \n sha1\n aes-128-cbc\n 28800\n group2\n main\n dsNLWo6G.KUBY99TYvBnEMohghrqm6.k\n \n \n esp\n hmac-sha1-96\n aes-128-cbc\n 3600\n group2\n tunnel\n true\n true\n 1379\n \n 10\n 3\n \n \n \n", - "Routes": [], - "Options": { - "StaticRoutesOnly": true - }, - "Type": "ipsec.1", - "VgwTelemetry": [ - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "35.165.156.252", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - }, - { - "StatusMessage": "", - "Status": "DOWN", - "OutsideIpAddress": "52.39.145.205", - "AcceptedRouteCount": 0, - "LastStatusChange": { - "year": 2018, - "hour": 13, - "second": 26, - "minute": 12, - "__class__": "datetime", - "day": 16, - "month": 4, - "microsecond": 0 - } - } - ], - "VpnGatewayId": "vgw-35d70c2b", - "State": "pending" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "7efaeb2a-f071-4178-af9c-1bcdbb383d0d", - "HTTPHeaders": { - "vary": "Accept-Encoding", - "content-length": "6120", - "server": "AmazonEC2", - "content-type": "text/xml;charset=UTF-8", - "date": "Mon, 16 Apr 2018 13:14:15 GMT" - }, - "RetryAttempts": 0 - } - }, - "status_code": 200 -} \ No newline at end of file diff --git a/tests/unit/plugins/modules/test_ec2_vpc_vpn.py b/tests/unit/plugins/modules/test_ec2_vpc_vpn.py deleted file mode 100644 index 8a7d2dee494..00000000000 --- a/tests/unit/plugins/modules/test_ec2_vpc_vpn.py +++ /dev/null @@ -1,263 +0,0 @@ -# (c) 2017 Red Hat Inc. -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - - -from unittest.mock import MagicMock -from unittest.mock import Mock - -import pytest - -from ansible_collections.community.aws.plugins.modules import ec2_vpc_vpn - - -@pytest.fixture -def ansible_module(): - module = MagicMock() - module.check_mode = False - module.params = {"delay": 5, "wait_timeout": 30} - module.fail_json.side_effect = SystemExit(1) - module.fail_json_aws.side_effect = SystemExit(1) - - return module - - -@pytest.mark.parametrize( - "vpn_connections, expected_result, expected_exception", - [ - # Case 1: Single VPN connection available - ( - [{"VpnConnectionId": "vpn-123", "State": "available"}], - {"VpnConnectionId": "vpn-123", "State": "available"}, - None, - ), - # Case 2: Multiple valid VPN connections available (expecting an exception) - ( - [ - {"VpnConnectionId": "vpn-123", "State": "available"}, - {"VpnConnectionId": "vpn-456", "State": "available"}, - ], - None, - "More than one matching VPN connection was found. To modify or delete a VPN please specify vpn_connection_id or add filters.", - ), - # Case 3: No VPN connections available - ([], None, None), - # Case 4: Multiple connections with one deleted (expecting the viable connection) - ( - [ - {"VpnConnectionId": "vpn-123", "State": "deleted"}, - {"VpnConnectionId": "vpn-456", "State": "available"}, - ], - {"VpnConnectionId": "vpn-456", "State": "available"}, - None, - ), - ], -) -def test_find_connection_response(ansible_module, vpn_connections, expected_result, expected_exception): - if expected_exception: - with pytest.raises(SystemExit) as e: # Assuming fail_json raises SystemExit - ec2_vpc_vpn.find_connection_response(ansible_module, vpn_connections) - assert e.value.code == 1 # Ensure exit code is as expected - # Check that the message is the same as expected - assert str(ansible_module.fail_json.call_args[1]["msg"]) == expected_exception - else: - result = ec2_vpc_vpn.find_connection_response(ansible_module, vpn_connections) - assert result == expected_result - - -@pytest.mark.parametrize( - "vpn_connection_id, filters, describe_response, expected_result, expected_exception", - [ - # Case 1: Single VPN connection found - ( - "vpn-123", - None, - {"VpnConnections": [{"VpnConnectionId": "vpn-123", "State": "available"}]}, - {"VpnConnectionId": "vpn-123", "State": "available"}, - None, - ), - # Case 2: Multiple VPN connections found (expecting an exception) - ( - "vpn-123", - None, - { - "VpnConnections": [ - {"VpnConnectionId": "vpn-123", "State": "available"}, - {"VpnConnectionId": "vpn-456", "State": "available"}, - ] - }, - None, - "More than one matching VPN connection was found. To modify or delete a VPN please specify vpn_connection_id or add filters.", - ), - # Case 3: No VPN connections found - ("vpn-123", None, {"VpnConnections": []}, None, None), - ], -) -def test_find_vpn_connection( - ansible_module, vpn_connection_id, filters, describe_response, expected_result, expected_exception -): - client = Mock() - ansible_module.params = {"vpn_connection_id": vpn_connection_id, "filters": filters} - - # Mock the describe_vpn_connections function - client.describe_vpn_connections.return_value = describe_response if describe_response else {} - - if expected_exception: - if "More than one matching VPN connection" in expected_exception: - with pytest.raises(SystemExit) as e: - ec2_vpc_vpn.find_vpn_connection(client, ansible_module) - # Check that the exception message matches the expected exception - assert str(ansible_module.fail_json.call_args[1]["msg"]) == expected_exception - else: - result = ec2_vpc_vpn.find_vpn_connection(client, ansible_module) - assert result == expected_result - - -@pytest.mark.parametrize( - "provided_filters, expected_result, expected_exception", - [ - ({"cgw": "cgw-123"}, [{"Name": "customer-gateway-id", "Values": ["cgw-123"]}], None), - ({"invalid_filter": "value"}, None, "invalid_filter is not a valid filter."), - ( - {"tags": {"key1": "value1", "key2": "value2"}}, - [{"Name": "tag:key1", "Values": ["value1"]}, {"Name": "tag:key2", "Values": ["value2"]}], - None, - ), - ({"static-routes-only": True}, [{"Name": "option.static-routes-only", "Values": ["true"]}], None), - ], -) -def test_create_filter(ansible_module, provided_filters, expected_result, expected_exception): - if expected_exception: - with pytest.raises(SystemExit) as e: - ec2_vpc_vpn.create_filter(ansible_module, provided_filters) - # Check that the exception message matches the expected exception - assert str(ansible_module.fail_json.call_args[1]["msg"]) == expected_exception - else: - result = ec2_vpc_vpn.create_filter(ansible_module, provided_filters) - assert result == expected_result - - -@pytest.mark.parametrize( - "params, expected_result, expected_exception", - [ - # Case 1: Successful creation of a VPN connection - ( - {"customer_gateway_id": "cgw-123", "vpn_gateway_id": "vgw-123", "static_only": True}, - {"VpnConnectionId": "vpn-123"}, - None, - ), - # Case 3: Missing required parameters (simulating failure) - ( - {"customer_gateway_id": None, "vpn_gateway_id": "vgw-123", "static_only": True}, - None, - "No matching connection was found. To create a new connection you must provide customer_gateway_id" - + " and one of either transit_gateway_id or vpn_gateway_id.", - ), - # Case 4: Both customer gateway and VPN gateway are None - ( - {"customer_gateway_id": None, "vpn_gateway_id": None, "static_only": False}, - None, - "No matching connection was found. To create a new connection you must provide customer_gateway_id" - + " and one of either transit_gateway_id or vpn_gateway_id.", - ), - # Case 5: Optional parameters passed (e.g., static routes) - ( - {"customer_gateway_id": "cgw-123", "vpn_gateway_id": "vgw-123", "static_only": True}, - {"VpnConnectionId": "vpn-456"}, - None, - ), - ], -) -def test_create_connection(ansible_module, params, expected_result, expected_exception): - client = Mock() - ansible_module.params = params - - if expected_exception: - client.create_vpn_connection.side_effect = Exception("AWS Error") - with pytest.raises(SystemExit) as e: # Assuming fail_json raises SystemExit - ec2_vpc_vpn.create_connection( - client, - ansible_module, - params["customer_gateway_id"], - params["static_only"], - params["vpn_gateway_id"], - None, - None, - None, - None, - None, - ) - # Check that the exception message matches the expected exception - assert str(ansible_module.fail_json.call_args[1]["msg"]) == expected_exception - else: - client.create_vpn_connection.return_value = {"VpnConnection": expected_result} - result = ec2_vpc_vpn.create_connection( - client, - ansible_module, - params["customer_gateway_id"], - params["static_only"], - params["vpn_gateway_id"], - None, - None, - None, - None, - None, - ) - assert result == expected_result - - -@pytest.mark.parametrize( - "vpn_connection_id, routes, purge_routes, current_routes, expected_result", - [ - # Case 1: No changes in routes - ( - "vpn-123", - ["10.0.0.0/16"], - False, - [{"DestinationCidrBlock": "10.0.0.0/16"}], - {"routes_to_add": [], "routes_to_remove": []}, - ), - # Case 3: Old routes empty, new routes not empty - ("vpn-123", ["10.0.1.0/16"], False, [], {"routes_to_add": ["10.0.1.0/16"], "routes_to_remove": []}), - # Case 4: New routes empty, old routes not empty - ( - "vpn-123", - [], - False, - [{"DestinationCidrBlock": "10.0.0.0/16"}], - {"routes_to_add": [], "routes_to_remove": []}, - ), - # Case 5: Purge routes - removing non-existent routes - ( - "vpn-123", - ["10.0.1.0/16"], - True, - [{"DestinationCidrBlock": "10.0.0.0/16"}], - {"routes_to_add": ["10.0.1.0/16"], "routes_to_remove": ["10.0.0.0/16"]}, - ), - # Case 6: Both old and new routes are empty - ("vpn-123", [], False, [], {"routes_to_add": [], "routes_to_remove": []}), - # Case 7: Purge routes with existing routes - ( - "vpn-123", - [], - True, - [{"DestinationCidrBlock": "10.0.0.0/16"}], - {"routes_to_add": [], "routes_to_remove": ["10.0.0.0/16"]}, - ), - ], -) -def test_check_for_routes_update( - ansible_module, vpn_connection_id, routes, purge_routes, current_routes, expected_result -): - ansible_module.params = { - "routes": routes, - "purge_routes": purge_routes, - } - - # Mock the find_vpn_connection function - client = MagicMock() - ec2_vpc_vpn.find_vpn_connection = Mock(return_value={"Routes": current_routes}) - - # Call the function and check results - result = ec2_vpc_vpn.check_for_routes_update(client, ansible_module, vpn_connection_id) - assert result == expected_result