Skip to content

Commit

Permalink
Merge pull request #8 from OT-CLOUD-KIT/revamp
Browse files Browse the repository at this point in the history
Optimized the terraform code for network skeleton
  • Loading branch information
sandy724 authored Dec 31, 2024
2 parents 8a91ad0 + cf81fef commit eddb310
Show file tree
Hide file tree
Showing 7 changed files with 372 additions and 616 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
*provider.tf
*plan.out
/examples/
*.tfvars
.terraform.lock.hcl
18 changes: 0 additions & 18 deletions .gitlab-ci.yml

This file was deleted.

317 changes: 93 additions & 224 deletions README.md

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions example/sample.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = "testing"
cidr_block = "10.10.0.0/16"
tags = {
environment = "dev"
}
vpc_tags = {
vpc = "shared"
}
public_subnets = ["10.10.0.0/20", "10.10.16.0/20"]
azs = ["us-west-2a", "us-west-2b"]
public_subnets_tags = {
subnet_type = "public"
}
private_subnets = ["10.10.32.0/20", "10.10.48.0/20"]
private_subnets_tags = {
subnet_type = "private"
}
database_subnets = ["10.10.64.0/20", "10.10.80.0/20"]
database_subnets_tags = {
subnet_type = "database"
}
additional_private_routes = [
{
destination_cidr_block = "20.0.0.0/16"
gateway_id = "nat-00a12c2c206403cfa"
}
]
Loading

0 comments on commit eddb310

Please sign in to comment.