Skip to content

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

@HiteshMondal

Description

@HiteshMondal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions