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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| customer_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 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