Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 841 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 841 Bytes

elastic-beanstalk-web-app

infrastructure chart

Description

AWS Elastic Beanstalk infrastructure for Sellix's web-app, in Terraform.

Deployment

Apply

  1. Initialize Environment

export ENV={environment}

  1. Initialize TFVARS

mv terraform.tfvars.example.json terraform.tfvars.json

then edit

  1. Edit Providers according to desired Regions in main.tf
  2. AWS IAM (optional, see main.tf)
export AWS_ACCESS_KEY=""
export AWS_SECRET_KEY=""
  1. Terraform Apply
terraform init
terraform workspace new $ENV
terraform workspace select $ENV
terraform apply

Switch Workspaces

terraform workspace select $ENV