Open yodamad opened 1 week ago
Hi @yodamad, thanks for the issue!
It looks like this is related to GitLab sub projects.
Repos hosted at the top-level like this work for me:
pulumi new https://gitlab.com/justinvp/test
As do specific templates within the git repo:
pulumi new https://gitlab.com/justinvp/test/typescript
You could try moving your template to a top-level repository as a workaround.
I'll keep this open to track adding support for GitLag sub groups/projects.
What happened?
I tried to create a new Pulumi project from a "private" template have made on
gitlab.com
(but which is available in a Public repository).If I execute the command like explained in the
help
section, it doesn't work.I cannot figure out why it doesn't work like explained in the documentation.
Example
First, with command
pulumi new https://gitlab.com/yodamad-workshops/2024/devfest-toulouse/pulumi-template/
, I got the errorAuthentication required
, even if the repository is publicSecond, with command containing authentication credentials,
pulumi new https://<my_username>:<my_token>@gitlab.com/yodamad-workshops/2024/devfest-toulouse/pulumi-template/
, I got the errorrepository not found
Output of
pulumi about
CLI Version 3.135.1 Go Version go1.23.2 Go Compiler gc
Host OS darwin Version 14.7 Arch x86_64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).