glamorous-printer-66548
09/16/2018, 8:15 PMstaging
or prod
I always have to prefix or suffix the stack name with the name of the project in which it is contained, which seems pretty redundant and actually leads to really long stack names for no apparent reason. I think it would be better if stack names are only required to be unique within a project.
To depict this via an example:
Ideally It’d like to have names like this:
project: my-fancy-project
- stack: staging
- stack: prod
However because of the limitations above I have to use names like this:
project: my-fancy-project
- stack: my-fancy-project-staging
- stack: my-fancy-project-prod
The pulumi CLI also shows in the preview an odd and quite long looking name like this:
TYPE NAME
pulumipulumiStack my-fancy-project-my-fancy-project-staging
A really concrete problem with the long stack names is that the name
column of the pulumipulumiStack resource in the pulumi preview
uses up so much space that on a notebook there’s barely any space left for the Info
column and I’m often not able to decypher what a particular error message in the Info column actually says.