Skip to content

feat: store refresh token (#7) #9

feat: store refresh token (#7)

feat: store refresh token (#7) #9

name: Terraform Apply
on:
push:
branches:
- main
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
- name: Terraform Init
run: terraform init
working-directory: ./infra
- name: Terraform Apply
run: terraform apply -auto-approve
working-directory: ./infra
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TF_VAR_db_username: ${{ secrets.TF_VAR_DB_USERNAME }}
TF_VAR_db_password: ${{ secrets.TF_VAR_DB_PASSWORD }}