This service implements a Cognito Post Confirmation Lambda Trigger, forwarding events to SQS for downstream processing.
The service is packaged as a ZIP file and uploaded to S3. A Lambda function is then deployed using this ZIP file.
CI/CD is implemented via GitHub Actions. To manually deploy the service, use the GitHub Actions job titled "Deploy to AWS".
-
Extract files under
C:\Program Files
-
Add
C:\Program Files\mingw64\bin
to the system's environment variablePath
-
Rename the executable under the
bin
folder frommingw32-make
tomake
-
Verify the installation by running the following command in the Command Prompt:
make -v
Run the following command in the Command Prompt:
go install github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest
-
Download Terraform
-
Extract the downloaded file to
C:\Program Files\HashiCorp\Terraform
-
Add the Terraform directory to your system's
Path
in the Environment Variables. -
Verify the installation by running the following command in the Command Prompt:
terraform version
make build ENV=dev
Use the make command to deploy the service to your desired environment:
- Replace ENV=dev with your target environment, e.g., dev, stag, prod.
- Ensure that your AWS credentials are properly configured before deployment.
make tf_init ENV=dev
make tf_plan
make tf_deploy