Terraform version: 1.1.6
-
Copy, populate, and source
env.sh
cp env.sh.template env.sh nano env.sh source env.sh cp aws_lambda_functions/profile_faker/env.sh.template aws_lambda_functions/profile_faker/env.sh nano aws_lambda_functions/profile_faker/env.sh source aws_lambda_functions/profile_faker/env.sh
-
Build and push docker image
cd aws_lambda_functions/profile_faker make docker/push TAG=dev cd -
-
Run terraform
terraform init terraform plan terraform apply