DevOps-Projects icon indicating copy to clipboard operation
DevOps-Projects copied to clipboard

Update outputs.tf or variables.tf on DevOps-Projects\DevOps-Project-01\infrastructure\modules\vpc

Open HiteshMondal opened this issue 3 months ago β€’ 0 comments

The current VPC module outputs cover only basic resources (VPC ID, subnet IDs, NAT Gateway IDs). To make the module more reusable and production-ready, the following outputs should be added:

VPC Name (vpc_name)

Internet Gateway ID (internet_gateway_id)

Public and private route table IDs (public_route_table_ids, private_route_table_ids)

Subnet CIDR blocks (public_subnet_cidrs, private_subnet_cidrs)

NAT Gateway Elastic IPs (nat_gateway_elastic_ips)

Impact:

Enables easier integration with other modules (security, EC2, apps)

Provides better visibility and flexibility for multi-environment deployments

Proposed Fix:

Update outputs.tf to include the above outputs.

Ensure backward compatibility with existing outputs.

HiteshMondal avatar Oct 08 '25 15:10 HiteshMondal