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

better-dentist-3207

06/03/2023, 7:32 PM
Coming from AWS CDK + CDK8s, pulumi stacks are kind of lost on me. As far as I understand, pulumi stacks are just environment specific configs, no differences in codebase., it all points to the same
index.ts
entry point. With CDK I was able to copy paste a class and change it's inputs to create an entirely different environment. With Pulumi I need to use multiple projects + envs and use stack references? (which seems weakly typed in terms of outputs)
f

fast-vr-6049

06/05/2023, 7:42 PM
You can absolutely have different stacks running on different codebases. For example, I've had a
Pulumi.prod.yaml
file associated with my
main
branch, and a
Pulumi.feature-xxx.yaml
for testing in my
feature/KEY-123_new_feature
branch