AWS Elastic Beanstalk infrastructure for Sellix's web-app, in Terraform.
- Initialize Environment
export ENV={environment}
- Initialize TFVARS
mv terraform.tfvars.example.json terraform.tfvars.json
then edit
- Edit Providers according to desired Regions in main.tf
- AWS IAM (optional, see main.tf)
export AWS_ACCESS_KEY=""
export AWS_SECRET_KEY=""
- Terraform Apply
terraform init
terraform workspace new $ENV
terraform workspace select $ENV
terraform apply
terraform workspace select $ENV