diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 85b825d..27ac70f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,10 +17,10 @@ concurrency: jobs: CI: env: - TF_VAR_tenant_id: ${{secrets.TENANT_ID }} - TF_VAR_subscription_id: ${{secrets.SUBSCRIPTION_ID }} - TF_VAR_client_id: ${{secrets.CLIENT_ID }} - TF_VAR_client_secret: ${{secrets.CLIENT_SECRET }} + ARM_TENANT_ID: ${{secrets.TENANT_ID }} + ARM_SUBSCRIPTION_ID: ${{secrets.SUBSCRIPTION_ID }} + ARM_CLIENT_ID: ${{secrets.CLIENT_ID }} + ARM_CLIENT_SECRET: ${{secrets.CLIENT_SECRET }} runs-on: ubuntu-latest steps: - name: Checkout repo diff --git a/tests/smoke_test.tftest.hcl b/tests/smoke_test.tftest.hcl index 077a043..4e223c4 100644 --- a/tests/smoke_test.tftest.hcl +++ b/tests/smoke_test.tftest.hcl @@ -1,9 +1,5 @@ provider "azurerm" { features {} - tenant_id = var.tenant_id - client_id = var.client_id - client_secret = var.client_secret - subscription_id = var.subscription_id } run "setup" { @@ -16,7 +12,7 @@ run "setup" { } } -run "smoke_test_plan" { +run "smoke_test_plan__default_values" { command = plan variables {