try to fix 201-vmss-packer-jumpbox
This commit is contained in:
@ -127,6 +127,12 @@ 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 != "" {
|
||||
packerVars["oidc_request_token"] = oidcRequestToken
|
||||
}
|
||||
if oidcRequestUrl := os.Getenv("ACTIONS_ID_TOKEN_REQUEST_URL"); oidcRequestUrl != "" {
|
||||
packerVars["oidc_request_url"] = oidcRequestUrl
|
||||
}
|
||||
patches := gomonkey.ApplyFunc(shell.RunCommandAndGetOutputE, func(t terratest.TestingT, command shell.Command) (string, error) {
|
||||
output, err := shell.RunCommandAndGetStdOutE(t, command)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user