This module creates following resources.
aws_dx_gateway
aws_dx_gateway_association
(optional)
Name | Version |
---|---|
terraform | >= 1.5 |
aws | >= 4.63 |
Name | Version |
---|---|
aws | 5.19.0 |
No modules.
Name | Type |
---|---|
aws_dx_gateway.this | resource |
aws_dx_gateway_association.external | resource |
aws_dx_gateway_association.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
asn | (Required) The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. | number |
n/a | yes |
name | (Required) Desired name for the DX Gateway resources. | string |
n/a | yes |
cross_account_gateway_associations | (Optional) The configuration to associate a list of VPN Gateway or Transit Gateway with a Direct Connect Gateway in cross account. Each block of cross_account_gateway_associations as defined below.(Required) account_id - The ID of the AWS account that owns the Virtual Private Gateway or Transit Gateway.(Required) proposal_id - The ID of the request proposal.(Optional) allowed_prefixes - A list of VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. |
list(object({ |
[] |
no |
gateway_associations | (Optional) The configuration to associate a list of VPN Gateway or Transit Gateway with a Direct Connect Gateway in same account. Each block of gateway_associations as defined below.(Required) gateway_id - The ID of the VPN Gateway or Transit Gateway with which to associate. Used for single account Direct Connect gateway associations.(Optional) allowed_prefixes - A list of VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. |
list(object({ |
[] |
no |
Name | Description |
---|---|
asn | The ASN of the Amazon side of the connection. |
cross_account_gateway_associations | Associated VGW or Transit gateway with a Direct Connect Gateway in cross account. |
gateway_associations | Associated VGW or Transit gateway with a Direct Connect Gateway in same account. |
id | The ID of the DX Gateway. |
name | The name of the DX Gateway. |
owner_account_id | AWS Account ID of the gateway. |