This message was deleted.
# general
s
This message was deleted.
b
you’d really set this on the stack configuration side. do you have any specific examples?
r
For example, I have "infra-prod" and "infra-dev" accounts. I use Pulumi to create ECR repositories. In prod, we may want 50 repositories. In dev, 2 - 3 is likely good enough. But given they share the same code, they will both end up with 50 repos
s
+1 to what @billowy-army-68599 said. If you parameterize things like the number of repositories, you can supply values in the stack configuration.
r
It's not just a number. Each repository has name and other configurations (e.g. immutability setting). Would you recommend put these in the stack config file, or have these in the Python code?
s
Sorry, I used the number of repositories just as one example; you could certainly extend that to include anything that might need to be set on a per-stack basis.
👍 1