8000 GitHub - ajitcherian/terraform-dynamicsubnets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ajitcherian/terraform-dynamicsubnets

Repository files navigation

Dynamic subnet creating in different availablity zones

Description

By this terraform code you can create VPC and subnet(private and public) on different availability zone dynamically.

You can set the number of public and private subnets needed, security group rules for all TLS ports having public inbound access, create route table and internet gateway. Also it will create a security group using dynamic block for minimizing the line of code.

Modify terrafor.tfvars file according to your requirement.

For more information, you can refer below link to have a detailed understanding of the function cidrsubent. a link a link

You can run below command to execute the code:

terraform init
terraform plan -out Outfile
terraform apply Outfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0