vibhasfl / terraform-vpc

Using Terraform to create VPC in AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-vpc

Setting up enviroment variables

> export TF_VAR_shared_credentials_path="~/.aws/credentials"
> export TF_VAR_aws_profile="profilename"

Using Terraform

  1. Pull and initialize project with AWS plugin
> terraform init
  1. View changes to infra
> terraform plan
  1. Apply changes
> terraform apply
  1. Destroy infra
> terraform destroy

Diagram :

VPC

About

Using Terraform to create VPC in AWS


Languages

Language:HCL 100.0%