colossal-kilobyte-61996
06/11/2023, 9:56 PMif/else
the creation of resources based on the current stack, etc, but I wonder if that’s a good pattern to follow? Or it would be much simpler to just have 1 stack and that’s it.
I wonder if we are approaching the problem right, or we should find a better way.
Thanks in advancelittle-cartoon-10569
06/11/2023, 10:03 PMcolossal-kilobyte-61996
06/12/2023, 8:19 AMlittle-cartoon-10569
06/12/2023, 9:25 AMif (Pulumi.getStack() == "prod"
or similar. (Plus, this could be a good opportunity to firm up the weaker policies).
The common bucket (and the CDN, if appropriate) would be set up in a different project.colossal-kilobyte-61996
06/12/2023, 10:42 AMsalmon-account-74572
06/12/2023, 12:05 PMcolossal-kilobyte-61996
06/12/2023, 12:21 PM