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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| carrier_gateway_ids | list | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| filters | dict | map[] | ||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| validate_certs | bool | true |
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