re setting up <https://www.pulumi.com/docs/esc/env...
# general
j
re setting up https://www.pulumi.com/docs/esc/environments/configuring-oidc/gcp OpenID for Google Cloud Platform, I can't get passed setting up in Esc because
<your-project-id>
takes in a number but Google Cloud uses strings for project IDs now
1
1. Step 6 in these docs state "Replace
<your-project-id>
,
<your-pool-id>
,
<your-provider-id>
, and
<your-service-account>
with the values from the previous steps." But yet none of the values are clearly attributed in the previous steps. is
<your-service-account>
referring to the email or ID of the SA?
w
I believe the Id. @silly-country-86708 do you happen to know?
j
Most confusing thing tho is <your-project-id>
I assume this is the Google Cloud Platform Organization ID?
because Google Cloud also has Project IDs lol
but they are strings, not numbers
w
I believe its the projectId, im not sure why its expecting numbers here 🤔
j
I might be out of luck then on setting this up 😞
Copy code
/gcp:5:18 - values.gcp.login["fn::open::gcp-login"].project:
		Error: expected number, got string
f
it should be project number, not id
☝️ 1
j
where do i find project number in the console haha
oh wait
f
Under Project Settings
j
found it
yea thats a tad confusing lol, im going through like 10 pages of docs setting everything up,
f
I agree we could be clearer in the docs about this. I'll bring this back to the team
j
thx
f
we are actually currently working on improvements for this oidc configuring process, so hopefully this won't be as painful as before 🙂
j
yea that'll be nice
and it works!
f
Great to hear!
j
Thanks for the help
was great having real time feedback
would have crashed out
f
no problem, that's what the community slack is for
s
glad this got solved! and thanks for the feedbacks on the docs 🙇