https://pulumi.com logo
#general
Title
# general
f

fresh-spring-82225

01/26/2024, 12:23 AM
Really, pulumi? 🤦
Copy code
> pulumi new <https://github.com/[...]/webapp-template.git> --force
error: failed to retrieve git folder: failed to clone ref 'refs/heads/main': authentication required
s

stale-twilight-75626

01/26/2024, 12:25 AM
Is it a private repo?
f

fresh-spring-82225

01/26/2024, 12:30 AM
yes
I want it to use the same auth magic that
git
uses
workaround is just to tell people to run
Copy code
git clone <https://github.com/[...]/webapp-template.git> ../webapp-template
pulumi new ../webapp-template --force
which, again, 🤦 but it works
s

stale-twilight-75626

01/26/2024, 12:57 AM
I think you can use an SSH key via
pulumi new git@github.com:<user>/<private-repo>
f

fresh-spring-82225

01/26/2024, 1:18 AM
Funny thing, we used to use ssh keys but we switched over to https recently. I'm not sure we support ssh with our new github enterprise setup
In any case, I don't want to make other users set up an ssh key just to use
pulumi new
e

echoing-dinner-19531

01/27/2024, 2:11 PM
This looks like a reasonable request to raise an issue about.