jolly-shampoo-35448
10/19/2025, 1:19 PMimport pulumi_eks as eks
eks.Cluster( ... )
..but don't specify an authentication_mode, how do I work out what it will use?
(that's just an example.. I'm interested in how to discover this in general, not this one case).echoing-dinner-19531
10/19/2025, 1:48 PMjolly-shampoo-35448
10/21/2025, 12:14 PMstocky-father-81239
10/28/2025, 2:50 PMpulumi up to find out which parameters I have to set and which I don't.echoing-dinner-19531
10/28/2025, 2:55 PMat the type-system level, parameters are almost always marked as optionalThat's often because they're optional based on if other parameters are set or not. There's no good way of expressing in the typesystems that like "field X is required, but only if field Y is set"
stocky-father-81239
10/28/2025, 3:19 PMThat's often because they're optional based on if other parameters are set or not.Yes, sometimes they are but in 99% of the cases (in my experience) that's not the case. For instance, it seems all resource parameters in pulumi-azure & pulumi-azure-native are declared as optional, even if I always have to specify them.
echoing-dinner-19531
10/28/2025, 3:22 PMstocky-father-81239
10/28/2025, 3:26 PM