Skip to content

Commit

Permalink
🔧 (lth.yml): add '|| true' to terraform import and terraform taint co…
Browse files Browse the repository at this point in the history
…mmands to prevent failing the workflow if the resources are already imported or tainted
  • Loading branch information
Alejandro Alvarez authored and KushnirykOleh committed Sep 2, 2024
1 parent 561ed62 commit bc9387f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
working-directory: src/test/terraform

- run: |
terraform import databricks_schema.test_harness main.liquibase_harness_test_ds
terraform taint databricks_schema.test_harness
terraform import databricks_schema.test_harness main.liquibase_harness_test_ds || true
terraform taint databricks_schema.test_harness || true
terraform apply -auto-approve
working-directory: src/test/terraform
Expand Down

0 comments on commit bc9387f

Please sign in to comment.