This module is deprecated and terraform-aws-modules/terraform-aws-vpc module published on the Terraform registry should be used instead.
This module is intended to deploy a VPN Gateway and attach it to a VPC.
name
- Unique name used to label the VPN Gateway.vpc_id
- VPC id where the VPN Gateway will be attached.
module "vpc" {
source = "github.com/terraform-community-modules/tf_aws_vpc_only?ref=master"
name = "tf-aws-vpn-example-vpc"
cidr = "${var.vpc_cidr}"
enable_dns_support = true
enable_dns_hostnames = true
}
module "vpn" {
source = "github.com/terraform-community-modules/tf_aws_vpn_gw"
name = "tf-aws-vpn-example"
vpc_id = "${module.vpc.vpc_id}"
}
vgw_id
- ARN for the created VPN Gateway
Created and maintained by Shayne Clausson