https://pulumi.com logo
Title
p

purple-electrician-80135

03/14/2023, 8:41 PM
Is there a way to create template code for an existing project? I'm moving some prototypes from a jupyter notebook ... unless the answer (which isn't in the docs but is what I'll wind up doing this time) is "manually create the pulumi yaml file and
__main__.py
"
l

little-cartoon-10569

03/14/2023, 9:21 PM
No. Template code is generally very small anyway. Once you've worked with Pulumi for a little bit, you won't use templates any more.
p

purple-electrician-80135

03/14/2023, 10:01 PM
Thx, pretty much haven’t been using them at all (outside of some example code) since I’ve been in a Jupyter notebook till now.
e

echoing-dinner-19531

03/15/2023, 9:19 AM
If you run
pulumi new /path/to/folder
it will treat that folder like a template, the same as the templates at https://github.com/pulumi/templates