Hi, I am trying to create a pulumi azure-python te...
# python
s
Hi, I am trying to create a pulumi azure-python template which can be used to create new pulumi projects with default configurations and descriptions within pulumi.yaml. I am using this blog as a reference (https://www.pulumi.com/blog/how-to-create-and-share-a-pulumi-template/). I am facing issues in recreating the configurations (in object format) which have been provided in the pulumi.yaml file of the template. The recreated project flattens the objects, which is incompatible with my main.py. Is it possible to retain the 'object' structure of the pulumi.<stack>.yaml file of the pulumi project created from the template. I have attached screenshots of the 'pulumi.yaml' template file, and the recreated pulumi.<stack>.yaml file. As you can see the 'sqlServer' and 'sqlDatabase' objects have been flattened. The screenshot shows the template and the recreated files side-by-side for ease of debugging