sparse-intern-71089
07/15/2022, 7:42 PMbored-oyster-3147
07/15/2022, 10:25 PMbored-oyster-3147
07/15/2022, 10:28 PMlemon-church-28946
07/15/2022, 10:34 PMbored-oyster-3147
07/15/2022, 10:36 PMlemon-church-28946
07/15/2022, 10:45 PMpulumi.automation.StackStack.set_configStack.get_configimport pulumi
from pulumi import automation as auto
from pathlib import Path
# bad ideas
stack = auto.select_stack(
    stack_name=pulumi.get_stack(),
    work_dir=str(Path(__file__).parent.absolute()))
# set a config value
stack.set_config('stuff', auto.ConfigValue('things'))
# log the newly set value
<http://pulumi.info|pulumi.info>(stack.get_config('stuff'))aws:regionlemon-church-28946
07/15/2022, 10:47 PMbored-oyster-3147
07/15/2022, 10:48 PMbored-oyster-3147
07/15/2022, 10:49 PMlemon-church-28946
07/15/2022, 11:03 PM