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

Commit 0d3d60f

Browse files
Magicloudketzacoatl
authored andcommitted
Bugfix: example vpn-gateway was referring to wrong path of modules.
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.
1 parent 32bf6ab commit 0d3d60f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/vpn-gateway/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ provider "aws" {
66
}
77

88
module "vpc" {
9-
source = "../../vpc"
9+
source = "../../modules/vpc"
1010

1111
azs = ["${var.vpc_azs}"]
1212
cidr = "${var.vpc_cidr}"
@@ -17,7 +17,7 @@ module "vpc" {
1717
}
1818

1919
module "vpn-gateway" {
20-
source = "../../vpn-gateway"
20+
source = "../../modules/vpn-gateway"
2121

2222
name_prefix = "${var.name_prefix}"
2323
instance_type = "t2.nano"

0 commit comments

Comments
 (0)