Skip to content

Commit

Permalink
chore(): added db_password secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Arielpetit committed Nov 22, 2024
1 parent 57558a1 commit af2478d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1

- name: Set DB Password as Environment Variable
run: echo "TF_VAR_db_password=${{ secrets.db_password }}" >> $GITHUB_ENV

- name: Terraform Init
run: cd terraform && terraform init

Expand All @@ -36,4 +39,3 @@ jobs:

- name: Terraform Apply
run: cd terraform && terraform apply -auto-approve plan.tfplan

0 comments on commit af2478d

Please sign in to comment.