aws_dx_gateway_association
Associates a Direct Connect Gateway with a VGW.
Example Usage
resource "aws_dx_gateway" "example" { name = "example" amazon_side_asn = "64512" } resource "aws_vpc" "example" { cidr_block = "10.255.255.0/28" } resource "aws_vpn_gateway" "example" { vpc_id = "${aws_vpc.test.id}" } resource "aws_dx_gateway_association" "example" { dx_gateway_id = "${aws_dx_gateway.example.id}" vpn_gateway_id = "${aws_vpn_gateway.example.id}" }
Argument Reference
The following arguments are supported:
-
dx_gateway_id
- (Required) The ID of the Direct Connect Gateway. -
vpn_gateway_id
- (Required) The ID of the VGW with which to associate the gateway.
Timeouts
aws_dx_gateway_association
provides the following Timeouts configuration options:
-
create
- (Default15 minutes
) Used for creating the association -
delete
- (Default10 minutes
) Used for destroying the association
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/dx_gateway_association.html