PARALLAX

ec2_carrier_gateway_info

Gather information about carrier gateways in AWS

Collection: community.aws

Full Name: community.aws.ec2_carrier_gateway_info

Synopsis

Gather information about carrier gateways in AWS

Parameters

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

Example

yaml
- name: Gather information about all Carrier Gateways for an account or profile
  community.aws.ec2_carrier_gateway_info:
    region: ap-southeast-2
  register: cagw_info

- name: Gather information about a filtered list of Carrier Gateways
  community.aws.ec2_carrier_gateway_info:
    region: ap-southeast-2
    filters:
        "tag:Name": "cagw-123"
  register: cagw_info

- name: Gather information about a specific carrier gateway by CarrierGatewayId
  community.aws.ec2_carrier_gateway_info:
    region: ap-southeast-2
    carrier_gateway_ids: cagw-c1231234
  register: cagw_info
Search
    ↑ ↓ move↵ openesc close