Skip to content

Commit

Permalink
fix: init terraform in all cases (#7304)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Jul 3, 2024
1 parent dbdb71e commit 56c52f9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/devnet-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,15 @@ jobs:
terraform init -input=false -backend-config="key=${{ env.DEPLOY_TAG }}/p2p-bootstrap"
terraform apply -input=false -auto-approve
- name: Init Aztec Node Terraform
working-directory: ./yarn-project/aztec/terraform/node
run: |
terraform init -input=false -backend-config="key=${{ env.DEPLOY_TAG }}/aztec-node"
- name: Taint node filesystem if L1 contracts are redeployed
if: steps.check_changes_release.outputs.result == 'true'
working-directory: ./yarn-project/aztec/terraform/node
run: |
terraform init -input=false -backend-config="key=${{ env.DEPLOY_TAG }}/aztec-node"
terraform state list | grep 'aws_efs_file_system.node_data_store' | xargs -n1 terraform taint
- name: Deploy Aztec Nodes
Expand All @@ -134,9 +138,3 @@ jobs:
run: |
terraform init -input=false -backend-config="key=${{ env.DEPLOY_TAG }}/prover"
terraform apply -input=false -auto-approve
- name: Deploy Provers
working-directory: ./yarn-project/aztec/terraform/prover
run: |
terraform init -input=false -backend-config="key=devnet/prover"
terraform apply -input=false -auto-approve

0 comments on commit 56c52f9

Please sign in to comment.