Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow specifying a local path to templates for "pulumi new" #2672

Closed
oliverholliday opened this issue Apr 25, 2019 · 0 comments · Fixed by #2884
Closed

Feature Request: Allow specifying a local path to templates for "pulumi new" #2672

oliverholliday opened this issue Apr 25, 2019 · 0 comments · Fixed by #2884
Assignees
Labels
good-first-issue Start here if you'd like to start contributing to Pulumi
Milestone

Comments

@oliverholliday
Copy link

oliverholliday commented Apr 25, 2019

It would be very useful for our use case of providing internal-only templates which are pre-configured for private NPM packages etc. etc.

I tried with a local path and with a file:// style url (that pulumi login supports).

PS C:\dev\blah> pulumi new file://../template -s test -n test -d .
error: GetFileAttributesEx C:\Users\Oliver Holliday\.pulumi\templates\file:\..\template The filename, directory name, or volume label syntax is incorrect.
PS C:\dev\blah> pulumi new ../template -s test -n test -d .
error: template '../template' not found
PS C:\dev\blah> pulumi new C:\dev\template -s test -n test -d .
error: GetFileAttributesEx C:\Users\Oliver Holliday\.pulumi\templates\c:\dev\template: The filename, directory name, or volume label syntax is incorrect.
PS C:\dev\blah> pulumi new file://c:\dev\template -s test -n test -d .
error: GetFileAttributesEx C:\Users\Oliver Holliday\.pulumi\templates\file:\c:\dev\template: The filename, directory name, or volume label syntax is incorrect.
PS C:\dev\blah> pulumi new file://c:/dev/template -s test -n test -d .
error: GetFileAttributesEx C:\Users\Oliver Holliday\.pulumi\templates\file:\c:\dev\template: The filename, directory name, or volume label syntax is incorrect.
@oliverholliday oliverholliday changed the title Allow specifying a local path to templates for "pulumi new" Feature Request: Allow specifying a local path to templates for "pulumi new" Apr 25, 2019
@lukehoban lukehoban added the good-first-issue Start here if you'd like to start contributing to Pulumi label Apr 25, 2019
@lukehoban lukehoban added this to the 0.24 milestone Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue Start here if you'd like to start contributing to Pulumi
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants