forked from fstuck37/terraform-aws-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdxgw.tf
17 lines (16 loc) · 763 Bytes
/
dxgw.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
##################################################
# File: dxgw.tf #
# Created Date: 03192019 #
# Author: Fred Stuck #
# Version: 0.1 #
# Description: Creates ACL #
# #
# Change History: #
# 03192019: Initial Test File #
# #
##################################################
resource "aws_dx_gateway_association" "aws_dx_gateway_association" {
count = var.dx_gateway_id == false ? 0 : 1
dx_gateway_id = var.dx_gateway_id
associated_gateway_id = aws_vpn_gateway.vgw.id
}