narrow-needle-9504701/03/2024, 6:45 AM
and it then creates the structure which I can change.
◦ How could I automate this process?
◦ As I understand, I need a script that will:
▪︎ create the stacks (
▪︎ remove the files created by automation
▪︎ then, during deployment, get the module to the infrastructure folder
▪︎ then the module will figure out what infra it is deploying with dynamic naming by looking into cloud-specific code folder
Is it the right thought process?
If you have any example to point me to, I would really appreciate it!
Any other feedback is also very welcome!
pulumi stack init ...
great-sunset-35501/03/2024, 11:40 AM
or automation API for more control.
salmon-account-7457201/03/2024, 8:58 PM
. A little-known fact is that
supports passing a path or URL to a template in order to use that template when creating the new project.
This blog post talks a bit more about the process: https://www.pulumi.com/blog/how-to-create-and-share-a-pulumi-template/
Does that help?
narrow-needle-9504701/03/2024, 11:13 PM
salmon-account-7457201/03/2024, 11:14 PM