diff --git a/.gitea/workflows/pull-request-open.yml b/.gitea/workflows/pull-request-open.yml index 8a198d3..ddbadf6 100644 --- a/.gitea/workflows/pull-request-open.yml +++ b/.gitea/workflows/pull-request-open.yml @@ -112,3 +112,5 @@ jobs: run: tofu test shell: bash working-directory: ${{ gitea.workspace }} + env: + VAULT_TOKEN: ${{ steps.tofu-auth.outputs.vault_token }} diff --git a/tests/two_tier.tftest.hcl b/tests/two_tier.tftest.hcl index d71b500..b2d7dad 100644 --- a/tests/two_tier.tftest.hcl +++ b/tests/two_tier.tftest.hcl @@ -25,7 +25,7 @@ run "two_tier" { assert { condition = module.landing_zone.database_subnetpool == null - error_message = "The database subnetpool does not seem correct" + error_message = "The database subnetpool is not null" } assert {