stale-van-70015
07/25/2023, 6:09 PM* building client: unable to obtain access token: githubAssertion: cannot unmarshal response: invalid character '<' looking for beginning of value
error: rpc error: code = Unknown desc = invocation of azure-native:authorization:getClientConfig returned an error: error reading from server: read tcp 127.0.0.1:52560->127.0.0.1:34229: use of closed network connection
and so on.ARM_OIDC_REQUEST_TOKEN
is a GitHub Actions specific variable. For other CI systems, users need to use ARM_OIDC_TOKEN
.
See also this GitHub issue and and Pulumi's own docs page for AzAPI.
If I remove the GitHub Actions specific variables, ARM_OIDC_REQUEST_TOKEN
and ARM_OIDC_REQUEST_URL
, then set ARM_OIDC_TOKEN
I still run into errors:
error: rpc error: code = Unknown desc = invocation of azure-native:authorization:getClientConfig returned an error: OIDC authentication was requested via useOidc/ARM_USE_OIDC but no token and/or
request URL were configured.