Skip to content

Commit 3700c92

Browse files
committed
Change to simplier vpc without gateways and in us-east-1 region
1 parent 23b0a02 commit 3700c92

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

examples/simple-vpc/main.tf

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
provider "aws" {
2-
region = "eu-west-1"
2+
region = "us-east-1"
33
}
44

55
data "aws_security_group" "default" {
@@ -10,21 +10,21 @@ data "aws_security_group" "default" {
1010
module "vpc" {
1111
source = "../../"
1212

13-
name = "simple-example"
13+
name = "simple-vpc"
1414

1515
cidr = "10.0.0.0/16"
1616

17-
azs = ["eu-west-1a", "eu-west-1b", "euw1-az3"]
18-
private_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
19-
public_subnets = ["10.0.101.0/24", "10.0.102.0/24", "10.0.103.0/24"]
17+
azs = ["us-east-1a", "us-east-1b"]
18+
private_subnets = ["10.0.1.0/24"]
19+
public_subnets = ["10.0.101.0/24"]
2020

2121
enable_ipv6 = true
2222

23-
enable_nat_gateway = true
24-
single_nat_gateway = true
23+
# enable_nat_gateway = true
24+
# single_nat_gateway = true
2525

2626
public_subnet_tags = {
27-
Name = "overridden-name-public"
27+
Name = "simple-public-subnet"
2828
}
2929

3030
tags = {
@@ -33,7 +33,7 @@ module "vpc" {
3333
}
3434

3535
vpc_tags = {
36-
Name = "vpc-name"
36+
Name = "simple-vpc"
3737
}
3838
}
3939

0 commit comments

Comments
 (0)