Open t-kikuc opened 1 month ago
💡 An idea of implementation is like this: https://github.com/pipe-cd/pipecd/commit/82988086a99232d6908a7d1ce245ffa7629750ac
I think the configuration for features like livestate or drift detection to be on/off should belong to application configuration instead of piped platform provider or plugin config since users may use the same platform/plugin config of piped to manage various applications with different attentions, wdyt? 🤔
Disabling LiveState&DriftDetection for each app does not have an effect on reducing API calls. Even if LiveState of only one app is enabled, livestatestore will fetch all resources.
FYI, it seems that there was a similar issue with disabling drift detection: https://github.com/pipe-cd/pipecd/issues/4508. This is implemented as a temporary option for the terraform provider in the piped config. https://pipecd.dev/docs-v0.49.x/user-guide/managing-piped/configuration-reference/#platformproviderterraformconfig
What would you like to be added:
enableLiveState: true/false
flag inPlatformProviderLambdaConfig
.Why is this needed: