PARALLAX

ec2_customer_gateway

Manage an AWS customer gateway

Collection: community.aws

Full Name: community.aws.ec2_customer_gateway

Synopsis

Manage an AWS customer gateway

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
bgp_asnint
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
ip_addressstryes
namestryes
profilestr
regionstr
routingstrdynamic
secret_keystr
session_tokenstr
statestrpresent
validate_certsbooltrue

Example

yaml
- name: Create Customer Gateway
  community.aws.ec2_customer_gateway:
    bgp_asn: 12345
    ip_address: 1.2.3.4
    name: IndianapolisOffice
    region: us-east-1
  register: cgw

- name: Delete Customer Gateway
  community.aws.ec2_customer_gateway:
    ip_address: 1.2.3.4
    name: IndianapolisOffice
    state: absent
    region: us-east-1
  register: cgw
Search
    ↑ ↓ move↵ openesc close