@@ -14,20 +14,20 @@ terraform {
1414
1515inputs = {
1616 # VPC Module inputs
17- name = " hpc-${ local . environment } -vpc"
18- cidr = local.vpc_config.cidr_block
17+ name = " hpc-dev -vpc"
18+ cidr = " 10.0.0.0/16 "
1919
20- azs = local.availability_zones
21- private_subnets = local.subnet_config.private.cidr_blocks
22- public_subnets = local.subnet_config.public.cidr_blocks
20+ azs = [ " us-east-2a " , " us-east-2b " , " us-east-2c " ]
21+ private_subnets = [ " 10.0.10.0/24 " , " 10.0.20.0/24 " , " 10.0.30.0/24 " ]
22+ public_subnets = [ " 10.0.1.0/24 " , " 10.0.2.0/24 " , " 10.0.3.0/24 " ]
2323
2424 # Additional subnets for HPC
25- database_subnets = local.subnet_config.storage.cidr_blocks
26- compute_subnets = local.subnet_config.compute.cidr_blocks
27-
25+ database_subnets = [ " 10.0.200.0/24 " , " 10.0.201.0/24 " , " 10.0.202.0/24 " ]
26+ compute_subnets = [ " 10.0.100.0/22 " , " 10.0.104.0/22 " , " 10.0.108.0/22 " ]
27+
2828 # Enable DNS
29- enable_dns_hostnames = local.vpc_config.enable_dns_hostnames
30- enable_dns_support = local.vpc_config.enable_dns_support
29+ enable_dns_hostnames = true
30+ enable_dns_support = true
3131
3232 # Enable NAT Gateway (single for dev)
3333 enable_nat_gateway = true
@@ -43,36 +43,67 @@ inputs = {
4343 enable_s3_endpoint = true
4444
4545 # Tags
46- tags = merge (local. common_tags , {
47- Name = " hpc-${ local . environment } -vpc"
46+ tags = {
47+ Environment = " dev"
48+ Region = " us-east-2"
49+ Project = " HPC-Networking"
50+ ManagedBy = " Terragrunt"
51+ Owner = " DevOps-Team"
52+ Name = " hpc-dev-vpc"
4853 Type = " VPC"
49- })
50-
54+ }
55+
5156 # Subnet tags
52- private_subnet_tags = merge (local. common_tags , {
57+ private_subnet_tags = {
58+ Environment = " dev"
59+ Region = " us-east-2"
60+ Project = " HPC-Networking"
61+ ManagedBy = " Terragrunt"
62+ Owner = " DevOps-Team"
5363 Type = " Private-Subnet"
5464 Tier = " Compute"
55- })
56-
57- public_subnet_tags = merge (local. common_tags , {
65+ }
66+
67+ public_subnet_tags = {
68+ Environment = " dev"
69+ Region = " us-east-2"
70+ Project = " HPC-Networking"
71+ ManagedBy = " Terragrunt"
72+ Owner = " DevOps-Team"
5873 Type = " Public-Subnet"
5974 Tier = " Management"
60- })
61-
62- database_subnet_tags = merge (local. common_tags , {
75+ }
76+
77+ database_subnet_tags = {
78+ Environment = " dev"
79+ Region = " us-east-2"
80+ Project = " HPC-Networking"
81+ ManagedBy = " Terragrunt"
82+ Owner = " DevOps-Team"
6383 Type = " Database-Subnet"
6484 Tier = " Storage"
65- })
66-
67- compute_subnet_tags = merge (local. common_tags , {
85+ }
86+
87+ compute_subnet_tags = {
88+ Environment = " dev"
89+ Region = " us-east-2"
90+ Project = " HPC-Networking"
91+ ManagedBy = " Terragrunt"
92+ Owner = " DevOps-Team"
6893 Type = " Compute-Subnet"
6994 Tier = " HPC-Compute"
70- })
95+ }
7196
7297 # Additional variables for local Terraform resources
73- environment = local.environment
74- region = local.region
75- vpc_cidr = local.vpc_config.cidr_block
76- common_tags = local.common_tags
98+ environment = " dev"
99+ region = " us-east-2"
100+ vpc_cidr = " 10.0.0.0/16"
101+ common_tags = {
102+ Environment = " dev"
103+ Region = " us-east-2"
104+ Project = " HPC-Networking"
105+ ManagedBy = " Terragrunt"
106+ Owner = " DevOps-Team"
107+ }
77108}
78109
0 commit comments