Skip to content

Commit

Permalink
Add example tfvars
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanDumortier committed Apr 19, 2024
1 parent 7c78976 commit 7419d69
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
42 changes: 42 additions & 0 deletions tfvars/dev.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
env = "dev"

######################################
# VPC module
######################################

# VPC
create_vpc = true
vpc_name = "vpc-dev"
vpc_cidr = "10.0.0.0/16"

# VPC flow logs
#create_vpc_flow_logs = true
#vpc_flow_logs_retention_days = 7
#vpc_flow_logs_aggregation_interval = 600

# Subnets
#create_database_subnets = true
#private_subnet_name_prefix = "private"
#public_subnet_name_prefix = "public"
#database_subnet_name_prefix = "database"

#private_subnet_cidr_blocks = ["10.0.1.0/24", "10.0.2.0/24"]
#public_subnet_cidr_blocks = ["10.0.100.0/24", "10.0.101.0/24"]
#database_subnet_cidr_blocks = ["10.0.10.0/24", "10.0.11.0/24"]

# NAT gateway
#create_nat_gateways = true
single_nat_gateway = true
#nat_gateway_per_az = false

# VPC S3 endpoint
#create_vpc_endpoints = true

# ------------------------------------------------------------------------------------


######################################
# EKS module
######################################

# values...
42 changes: 42 additions & 0 deletions tfvars/prod.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
env = "prod"

######################################
# VPC module
######################################

# VPC
create_vpc = true
vpc_name = "vpc-prod"
vpc_cidr = "10.1.0.0/16"

# VPC flow logs
#create_vpc_flow_logs = true
#vpc_flow_logs_retention_days = 7
#vpc_flow_logs_aggregation_interval = 600

# Subnets
#create_database_subnets = true
#private_subnet_name_prefix = "private"
#public_subnet_name_prefix = "public"
#database_subnet_name_prefix = "database"

#private_subnet_cidr_blocks = ["10.0.1.0/24", "10.0.2.0/24"]
#public_subnet_cidr_blocks = ["10.0.100.0/24", "10.0.101.0/24"]
#database_subnet_cidr_blocks = ["10.0.10.0/24", "10.0.11.0/24"]

# NAT gateway
#create_nat_gateways = true
single_nat_gateway = true
#nat_gateway_per_az = false

# VPC S3 endpoint
#create_vpc_endpoints = true

# ------------------------------------------------------------------------------------


######################################
# EKS module
######################################

# values...

0 comments on commit 7419d69

Please sign in to comment.