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.
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
}
}
Name |
Source |
Version |
subnets |
cloudposse/dynamic-subnets/aws |
2.4.2 |
vpc |
cloudposse/vpc/aws |
2.2.0 |
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 |
No outputs.