Git Product home page Git Product logo

aws-subnet's Introduction

aws-subnet

Terraform module to create AWS Subnet.

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_eip.public_ngw_eip resource
aws_nat_gateway.public_ngw resource
aws_route.private resource
aws_route.public resource
aws_route_table.private resource
aws_route_table.public resource
aws_route_table_association.private resource
aws_route_table_association.public resource
aws_subnet.private resource
aws_subnet.public resource
aws_vpc.default data source

Inputs

Name Description Type Default Required
availability_zone Availability Zone where subnets will be created string n/a yes
cidr_block Base CIDR block which will be divided into subnet CIDR blocks (e.g. 10.0.0.0/16) string "null" no
igw_id Internet Gateway ID the public route table will point to string "" no
labels Minimum required map of labels(tags) for creating aws resources
object({
prefix = string
stack = string
component = string
env = string
})
n/a yes
map_public_ip_on_launch Instances launched into a public subnet should be assigned a public IP address bool true no
ngw_id NAT Gateway ID which will be used as a default route in private route tables string "" no
subnet_name optionally define a custom value for the subnet.
By default, it is defined as a construction from var.labels
string "default" no
tags Additional tags map(string) {} no
type Type of subnets (private or public) string "private" no
vpc_id VPC ID where subnets will be created (e.g. vpc-aceb2723) string n/a yes

Outputs

Name Description
ngw_id NAT Gateway ID
subnet_id ID of the created public subnets

aws-subnet's People

Contributors

mikhail-belousov-rft avatar mbelousov7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.