handsome-state-5977505/02/2021, 8:27 AM
? 2. Can I overlay configuration and secrets on top of a default stack's imported configuration? This would let me check in common secrets/config for a project, and have the CI/CD set env vars to provide optional overrides.
lemon-agent-2770705/03/2021, 12:30 AM
this is not true for python. You should just be able to create a function that creates your resources and call that function from within both your automation api program and your CLI program 2. Not sure I fully understand. Would you mind providing a little more detail? With Automation API you can run any code you want as a part of the automation program. You can read config from a shared stack, set config/secrets on the current stack programmatically, and even do things like read values from AWS KMS or Azure Key Vault.
handsome-state-5977505/03/2021, 6:49 AM
Do we have any high level functions for mutating ConfigMap/ConfigValue?
base_stack = auto.select_stack( stack_name=base_stack_name, work_dir=str(work_dir), ) base_config_all = base_stack.get_all_config() new_config_all = ### MUTATE MAP new_stack.set_all_config(new_config_all)
lemon-agent-2770705/03/2021, 3:17 PM
Do we have any high level functions for mutating ConfigMap/ConfigValue?no