Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to disable VPC subnets #62

Open
zachreborn opened this issue Jul 17, 2024 · 0 comments
Open

Ability to disable VPC subnets #62

zachreborn opened this issue Jul 17, 2024 · 0 comments
Assignees

Comments

@zachreborn
Copy link
Owner

Describe the feature

The ability to enable or disable subnets in the VPC module based on need individually or all at once.

Examples

module "vpc" {
    source = "github.com/zachreborn/terraform-modules//modules/aws/vpc?ref=v3.3.4"

    name                    = "transit_vpc"
    vpc_cidr                = "10.11.0.0/16"
    azs                     = ["us-west-1a", "us-west-1b", "us-west-1c"]
    enable_private_subnet = false
    enable_db_subnet      = false
    tags = {
        terraform   = "true"
        created_by  = "Zachary Hill"
        environment = "prod"
        project     = "core_infrastructure"
    }
}

Confirmation

Confirmation that proposed solution is successful.

@zachreborn zachreborn self-assigned this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant