Skip to content

Deploy to AWS

Deploy to AWS #1

name: Deploy to AWS
on:
workflow_dispatch:
env:
AWS_REGION : "us-east-2"
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::058264103110:role/gha-incubator
role-session-name: hackforlarolesession
aws-region: ${{ env.AWS_REGION }}
- name: initialize terraform
run: |
echo "tf init"