Skip to content

Commit

Permalink
fix: terraform version
Browse files Browse the repository at this point in the history
  • Loading branch information
kasir-barati committed Mar 19, 2024
1 parent 3820db8 commit 72786f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/backend-e2e-tests.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
name: Remove kickstart.json
run: rm -rf ./deployment/fusionauth/kickstart.json
- if: ${{ steps.backend-changes.outputs.backend == 'true' }}
name: Create kickstart.json, using FUSIONAUTH_API_KEY
name: Create kickstart.json, reading api key value from FUSIONAUTH_API_KEY
run: |
touch ./deployment/fusionauth/kickstart.json
echo '{"apiKeys":[{ "key":${{env.FUSIONAUTH_API_KEY}} }]}' >> ./deployment/fusionauth/kickstart.json
Expand All @@ -81,6 +81,11 @@ jobs:
run: docker compose -f e2e.docker-compose.yml up -d
env:
DATABASE_URL: "mongodb://${{ env.MONGO_INITDB_ROOT_USERNAME }}:${{ env.MONGO_INITDB_ROOT_PASSWORD }}@you-say-api-db:27017"
- if: ${{ steps.backend-changes.outputs.backend == 'true' }}
name: Setup terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.7.4"
- if: ${{ steps.backend-changes.outputs.backend == 'true' }}
name: Initialize, and apply terraform
run: |
Expand Down
2 changes: 1 addition & 1 deletion deployment/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.4.2, <= 1.5.7"
required_version = ">= 1.4.2, <= 1.7.5"
}

module "fusionauth" {
Expand Down

0 comments on commit 72786f6

Please sign in to comment.