Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Bugfix: example vpn-gateway was referring to wrong path of modules.
Browse files Browse the repository at this point in the history
Got this when `terraform init` all examples. This example uses modules
vpc and vpn-gateway at "../../", which actually should be
"../../modules/".

Fix main.tf with correct path.
  • Loading branch information
Magicloud authored and ketzacoatl committed Jun 21, 2019
1 parent 32bf6ab commit 0d3d60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/vpn-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ provider "aws" {
}

module "vpc" {
source = "../../vpc"
source = "../../modules/vpc"

azs = ["${var.vpc_azs}"]
cidr = "${var.vpc_cidr}"
Expand All @@ -17,7 +17,7 @@ module "vpc" {
}

module "vpn-gateway" {
source = "../../vpn-gateway"
source = "../../modules/vpn-gateway"

name_prefix = "${var.name_prefix}"
instance_type = "t2.nano"
Expand Down

0 comments on commit 0d3d60f

Please sign in to comment.