vpc_provisioning_script's Introduction
Provisioning a VPC using Terraform This is the Terraform script for vpc Provisioning. You're going to create VPC with the same configuration as shown in vpc.png file. This repository contains Terraform code to provision a VPC on AWS. The following instructions will guide you through the process of customizing the code to create your own VPC. Prerequisites Before you begin, you will need the following: An AWS account Terraform installed on your local machine AWS cli on your local machine aws configure (Provide accesskey and secret access key) Customizing the Code To customize the code, follow these steps: Clone the repository to your local machine. Navigate to the root directory of the repository. Open the variables.tf file in a text editor. Modify the values of the variables as per your requirements. The variables and their default values are listed below: vpc_cidr: The CIDR block for the VPC. Default: 10.0.0.0/16. vpc_name: The name of the VPC. Default: test_vpc. public_subnet_1a_cidr: The CIDR block for the first public subnet. Default: 10.0.0.0/24. public_subnet_1b_cidr: The CIDR block for the second public subnet. Default: 10.0.1.0/24. private_subnet_1a_cidr: The CIDR block for the first private subnet. Default: 10.0.2.0/24. private_subnet_1b_cidr: The CIDR block for the second private subnet. Default: 10.0.3.0/24. Note: The CIDR blocks for the subnets should be within the CIDR block of the VPC. Save the changes to the variables.tf file. Provisioning the VPC To provision the VPC, follow these steps: Ensure that you are in the root directory of the repository. Run the following commands: terraform init terraform plan terraform apply You're Done. Congrats
vpc_provisioning_script's People
Forkers
sanjeetjha96Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.