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

microscopic-pilot-97530

06/18/2018, 3:41 PM
You can also just run
pulumi new
and it will give you a list of available templates to choose from.
b

breezy-stone-91833

06/18/2018, 3:43 PM
is it possible to create our own templates within our account? thx πŸ™‚
b

bitter-oil-46081

06/18/2018, 3:52 PM
@microscopic-pilot-97530 would know for sure. I think it's possible for you to create a template locally and then be able to
pulumi new
that, but we don't have a great way of sharing templates today. Does seem like something we should add however, do you mind opening an issue at https://github.com/pulumi/pulumi ?
πŸ‘ 1
m

microscopic-pilot-97530

06/18/2018, 4:08 PM
It's possible to create and use local "offline" templates today, but the experience is a bit rough around the edges. I'd be happy to share more info, if you're interested. Though, as @bitter-oil-46081 says, we don't have a great way to share these currently. Being able to create templates within your Pulumi account is an excellent suggestion!
πŸ‘ 1
If it's something public that would have broader appeal, we're definitely open to suggestions and PRs at https://github.com/pulumi/templates.
b

breezy-stone-91833

06/18/2018, 4:10 PM
@bitter-oil-46081 @microscopic-pilot-97530 https://github.com/pulumi/pulumi/issues/1527
m

microscopic-pilot-97530

06/18/2018, 4:10 PM
πŸ‘πŸ’―
b

breezy-stone-91833

06/18/2018, 4:11 PM
I haven’t had a chance to see the other issues. Let me know if the format could be improved.
b

big-piano-35669

06/18/2018, 6:36 PM
I love this idea. I did want to mention that an alternative way to share code amongst your teams is to use packages, rather than templates. A template will end up "copy and pasted", whereas a package lets you depend on it and version it. A good example of this in action is our AWS Infrastructure package, defined here https://github.com/pulumi/pulumi-aws-infra and published as https://www.npmjs.com/package/@pulumi/aws-infra.
It's very possible a template is better for your scenario, however I just wanted to mention this in case.
πŸ‘ 1