02/03/2023, 8:44 PM
I'm creating an AKS cluster and I want to change the SKU to standard only if its in the production environment. I have a variable "environment" passed in so I basically want the conditional to be if (environment == "production") { loadbalancersku = "standard" } under the cluster network profile arguments. However, I'm not sure the best way to handle that in pulumi? Do I use two completely different cluster constructs with an if statement in front, or is there a way to just apply the conditional to the one property? I'm using C# for context.