Skip to content

rafikbahri/terraform-aws-private-subnet

Repository files navigation

Requirements

Name Version
terraform >= 1.9.5
aws >= 5.67.0

Providers

Name Version
aws 5.67.0

Modules

No modules.

Resources

Name Type
aws_route_table.private resource
aws_route_table_association.internet resource
aws_subnet.subnet resource

Inputs

Name Description Type Default Required
availability_zone Availability zone of the subnet string "eu-west-3a" no
cidr_block IPv4 CIDR block for the subnet string "10.0.10.0/24" no
has_internet_access Whether this network has internet access bool false no
name Subnet name string "" no
ngw_id NAT Gateway ID for internet access string "" no
tags A map of tags to add to all resources in the subnet map(string) {} no
vpc_id VPC ID where the subnet will be created string "" no

Outputs

Name Description
arn Subnet ARN
cidr_block Subnet CIDR block
subnet_id Subnet ID

About

Terraform module for AWS Private Subnet

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages