-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvgw.tf
20 lines (19 loc) · 797 Bytes
/
vgw.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##################################################
# File: vgw.tf #
# Created Date: 03192019 #
# Author: Fred Stuck #
# Version: 0.1 #
# Description: Setup VGW Gateway #
# #
# Change History: #
# 03192019: Initial File #
# #
##################################################
resource "aws_vpn_gateway" "vgw" {
vpc_id = aws_vpc.main_vpc.id
tags = merge(
var.tags,
map("Name",format("%s","${var.name-vars["account"]}-${var.name-vars["name"]}-vgw")),
local.resource-tags["aws_vpn_gateway"]
)
}