Skip to content

A Terraform module to create a VPN Gateway and attach it to a VPC.

Notifications You must be signed in to change notification settings

mergermarket/tf_aws_vpn_gw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AWS VPN Gateway

================= This module is intended to deploy a VPN Gateway and attach it to a VPC.

Module Input Variables

  • name - Unique name used to label the VPN Gateway.
  • vpc_id - VPC id where the VPN Gateway will be attached.

Usage

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}"
}

Outputs

  • vgw_id - ARN for the created VPN Gateway

Author

Created and maintained by Shayne Clausson

About

A Terraform module to create a VPN Gateway and attach it to a VPC.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%