most-state-94104
11/13/2022, 7:08 PMbillowy-army-68599
11/14/2022, 5:52 PMmost-state-94104
11/15/2022, 9:48 AMbillowy-army-68599
11/15/2022, 2:33 PMAre there any resources about using feature flags with pulumi that I might have missed?not that I’m aware!
Are the stack config files the best place to toggle feature flags?yes i think this is a valid strategy! You can also read feature flags using SDKs (because you can use standard code, which is a nice benefit!) from feature flag providers like launchdarkly, but your strategy is straightforward and well implemented
feature flags need to be managed carefully and can clutter code. Do you use feature flags in your pulumi projects or not worth the bother?We use a third party feature flag provider for the Pulumi service
If the stack config files is the best place to toggle feature flags, am I calling them in the best way?I think at the moment you’re using the feature flags as inputs. You could also just have boolean flags:
if (config.feature_enabled) {
// do something
}
but what you have now looks great!
I’m thinking of writing GitHub action to flag obsolete feature flags which are enabled in prod. Should I parse the yaml config files or can I somehow use the pulumi outputs?You could use automation API for this! Our pulumi github action uses this, and you can read and set config values programmtically
most-state-94104
11/15/2022, 4:25 PMbillowy-army-68599
01/29/2023, 4:05 PM