Skip to content

Commit

Permalink
fix the use of local env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Sep 10, 2024
1 parent 223577e commit f06a428
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
if: github.event_name == 'pull_request'
name: "Terraform Plan"
runs-on: ubuntu-latest"
environment: ${{ env.ENVIRONMENT }}
environment: "$ENVIRONMENT"
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
if: github.ref == 'refs/heads/main'
name: "Terraform Apply"
runs-on: ubuntu-latest
environment: ${{ env.ENVIRONMENT }}
environment: "$ENVIRONMENT"
permissions:
contents: read
steps:
Expand All @@ -160,7 +160,7 @@ jobs:
database_name = "${{ vars.BMB_MYSQL_DATABASE }}"
username = "${{ secrets.BMB_MYSQL_USER }}"
password = "${{ secrets.BMB_MYSQL_PASSWORD }}"
environment = "${{ env.ENVIRONMENT }}"
environment = "$ENVIRONMENT"
EOF
- name: Upload Configuration
Expand Down

0 comments on commit f06a428

Please sign in to comment.