Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.33 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.33 KB

Cache and Beanstalk

Terraform AWS Python Flask

Infrastructure architecture

Requirements

Commands (in ./terraform)

  1. To initialize Terraform:
terraform init
  1. To generate the execution plan
terraform plan
  1. To build the infrastructure
terraform apply --auto-approve
  1. To deploy the application
aws elasticbeanstalk update-environment --application-name app-beanstalk --version-label v1 --environment-name beanstalk-environment
  1. To destroy the infrastructure
terraform destroy --auto-approve