From 521970084e0e66ffa9f6f06e02b4c09eedc0b51b Mon Sep 17 00:00:00 2001 From: hezijie Date: Sat, 14 Sep 2024 12:30:32 +0800 Subject: [PATCH] try to fix 201-vmss-packer-jumpbox --- test/e2e/quickstart_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/quickstart_test.go b/test/e2e/quickstart_test.go index d004adf5..28a240da 100644 --- a/test/e2e/quickstart_test.go +++ b/test/e2e/quickstart_test.go @@ -127,10 +127,10 @@ func test201VmssPackerJumpbox(t *testing.T) { if tenantId := os.Getenv("ARM_TENANT_ID"); tenantId != "" { packerVars["tenant_id"] = tenantId } - if oidcRequestToken := os.Getenv("ACTIONS_ID_TOKEN_REQUEST_TOKEN"); oidcRequestToken != "" { + if oidcRequestToken := os.Getenv("ARM_OIDC_REQUEST_TOKEN"); oidcRequestToken != "" { packerVars["oidc_request_token"] = oidcRequestToken } - if oidcRequestUrl := os.Getenv("ACTIONS_ID_TOKEN_REQUEST_URL"); oidcRequestUrl != "" { + if oidcRequestUrl := os.Getenv("ARM_OIDC_REQUEST_URL"); oidcRequestUrl != "" { packerVars["oidc_request_url"] = oidcRequestUrl } patches := gomonkey.ApplyFunc(shell.RunCommandAndGetOutputE, func(t terratest.TestingT, command shell.Command) (string, error) {