Reusable GitHub Actions workflows for internal use
Build and push docker image to AWS ECR
Inputs:
- ECR_REPOSITORY default: ${{ github.event.repository.name }}
Outputs
- image_name
- image_tag
Secrets:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
Deploy a preview environment with Terraform and update PR with preview URL and plan for merge to master
Inputs:
- IMAGE_NAME
- IMAGE_TAG
- TERRAFORM_WORKSPACE
- TERRAFORM_VAR_FILE
Secrets:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- SSH_PRIVATE_KEY
Deploy application with Terraform using selected workspace and var-file
Inputs:
- IMAGE_NAME
- IMAGE_TAG
- TERRAFORM_WORKSPACE
- TERRAFORM_VAR_FILE
Secrets:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- SSH_PRIVATE_KEY
Review Lambda with Terraform
Inputs:
- AWS_REGION (optional)
- AWS_REGION (optional)
Secrets:
- SSH_PRIVATE_KEY
Deploy Lambda with Terraform
Inputs:
- AWS_REGION (optional)
- AWS_REGION (optional)
Secrets:
- SSH_PRIVATE_KEY