Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.95 KB

README.md

File metadata and controls

60 lines (43 loc) · 1.95 KB

Terraform VPC Module

The VPC module is responsible for creating a Virtual Private Cloud (VPC) in AWS. It provisions the necessary resources such as subnets and availability zones.

Usage

  module "vpc" {
    source = "git::https://github.com/FlowFuse/terraform-aws-flowfuse.git//vpc?ref=main"

    namespace = "my-company"
    stage     = "production"

    tags = {
      Environment = "production"
      Project = "my-project"
      terraform = true
    }
  }

Requirements

Name Version
aws ~> 5.48

Providers

Name Version
aws 5.42.0

Modules

Name Source Version
subnets cloudposse/dynamic-subnets/aws 2.4.2
vpc cloudposse/vpc/aws 2.2.0

Resources

Name Type
aws_availability_zones.this data source

Inputs

Name Description Type Default Required
cidr The CIDR block for the VPC. string "10.0.0.0/16" no
namespace ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique string n/a yes
stage ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' string n/a yes
tags A map of tags to add to all resources map(string) {} no

Outputs

No outputs.