Update lambda_image_uri to lambda_repository_name #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-infra | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-infra: | |
defaults: | |
run: | |
working-directory: ${{ vars.TF_ACTIONS_WORKING_DIR }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
- name: Terraform Apply | |
run: terraform apply -auto-approve -no-color -input=false ${{ github.workspace }}/terraform.tfplan |