This package contains Terraform configuration files for Localstack and Production deployments, as well as the config to create a Terraform Deployment User
This configuration is for deployment to Localstack. It is already configured to not query production AWS.
This configuration is for deployment to production AWS. Some infrastructure differs from Localstack, such as the use of APIGatewayV2 over APIGateway, and some IAM roles, but both are kept as close to each other as technically possible.
This module is a utility module for deploying Lambda Functions to both production and localstack. It will create a Lambda, Cloudwatch Log Group and the appropriate IAM Roles.
This configuration is for creating an IAM User with the permissions necessary to deploy the Production configuration. TFState files generated from running this configuration should not be committed to any repository, as the aws_iam_access_key
should be treated as a secret. It is used in CI to deploy production as part of the CD deployment workflow.
This is the defintion of the AWS Step Functions State Machine. It can be linted with npm run lint -w terraform
, though developers may find it easier to install the AWS Toolkit VSCode extension for live feedback when editing this file.