Skip to content

Commit

Permalink
update vpn portion of vpc, versions
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 2, 2023
1 parent c080b50 commit 0f7d215
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/full-setup-tf-upgrade/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 4.0"
}
ldap = {
source = "trevex/ldap"
Expand All @@ -29,5 +29,5 @@ terraform {
version = ">= 2.1.0"
}
}
required_version = ">= 0.13"
required_version = ">= 1.0.0"
}
2 changes: 2 additions & 0 deletions examples/full-setup-tf-upgrade/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module "vpc" {
vpc_dns_servers = var.vpc_dns_servers
vpc_ntp_servers = var.vpc_ntp_servers
enable_aws_dns = var.vpc_enable_awsdns
tgw_environment = try(var.tgw_environment, var.vpc_environment)

tags = merge(
local.tags,
Expand Down Expand Up @@ -71,6 +72,7 @@ module "routing" {
}

module "vpn" {
count = var.vpc_enable_vpn ? 1 : 0
source = "git@github.e.it.census.gov:terraform-modules/aws-vpc-setup.git//vpn?ref=tf-upgrade"
vpc_id = local.vpc_id

Expand Down

0 comments on commit 0f7d215

Please sign in to comment.