PARALLAX

ec2_customer_gateway_info

Gather information about customer gateways in AWS

Collection: community.aws

Full Name: community.aws.ec2_customer_gateway_info

Synopsis

Gather information about customer gateways in AWS

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
customer_gateway_idslist[]
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
filtersdictmap[]
profilestr
regionstr
secret_keystr
session_tokenstr
validate_certsbooltrue

Example

yaml
- name: Gather information about all customer gateways
  community.aws.ec2_customer_gateway_info:

- name: Gather information about a filtered list of customer gateways, based on tags
  community.aws.ec2_customer_gateway_info:
    region: ap-southeast-2
    filters:
        "tag:Name": test-customer-gateway
        "tag:AltName": test-customer-gateway-alt
  register: cust_gw_info

- name: Gather information about a specific customer gateway by specifying customer gateway ID
  community.aws.ec2_customer_gateway_info:
    region: ap-southeast-2
    customer_gateway_ids:
        - 'cgw-48841a09'
        - 'cgw-fec021ce'
  register: cust_gw_info
Search
    ↑ ↓ move↵ openesc close