flat-battery-22309
07/10/2025, 2:46 PMacoustic-flag-94819
07/10/2025, 8:13 PMStackReferences
for refering to resources that have been created in other files.
It works fine and I also think it's nice and clean. Separation of concerns. Each yaml files contains only the resources needed for that application. Some advantages we see:
• You can delete an application including all the resources that that application has in one go
• Developers now exactly where to add/remove/update resources for each application.flat-battery-22309
07/11/2025, 2:48 PMpulumi up
for each stack individually, or have you set up any sort of orchestration (e.g., CI/CD workflows, scripts) to run them in sequence?
Also, in our case, all resources target the same org — meaning the stack config (URL, PAT, etc.) is shared. Have you found a clean way to avoid duplicating that config across stacks, or do you handle that through automation or shared templates?
Again, appreciate any details you can share, TIA!acoustic-flag-94819
07/11/2025, 3:04 PMpulumi up
for each stack individually using an automated pipeline, where we create a small job for each stack. I guess if your good at scripting, you could probably loop over all stack folders and execute pulumi up
for each folder, effectively automating the rollout of all stacks.
In regards to sharing secrets/keys across all stacks (if that's what you mean?), some stacks have their own secrets for config values etc, but their value is injected through CI/CD into the Pulumi config file.
Before injecting the values, you could retrieve secrets from your cloud service or wherever you have your secrets storedflat-battery-22309
07/11/2025, 3:19 PM