Skip to content

baitian-spring2021/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure Setup with Terraform

Pre-requisites

  • AWS CLI
  • Terraform
  • Approved SSL Certificate in Your AWS Certificate Manager (AWS CLI import command listed below, all files must be in pem format)
$ aws acm import-certificate --certificate fileb://{your certificate} \
   --certificate-chain fileb://{your certificate chain} \
   --private-key fileb://{your private key}

Configuration

  1. Clone this repository.
$ git clone {repo link}
  1. Set up the variables.tf file and configure the AWS credentials with AWS CLI.
$ aws configure --profile {your profile}
  1. Initialize the working directory.
$ terraform init
  1. Plan the execution.
$ terraform plan
  1. Apply the resources to AWS cloud.
$ terraform apply -auto-approve
  • To destroy the Terraform resources.
$ terraform destroy -auto-approve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages