如何为ANY堆栈更新运行权杖挂钩(而不必为每个堆栈显式定义)



我有一个钩子,每次更新ANY堆栈时都要运行它。我知道我可以在每个堆栈的基础上定义一个钩子,但我想全局定义一个挂钩,当它更新时,它将为我的每个堆栈运行。

基于您提到的内容;权杖文件夹结构应该以具有顶级CCD_;全局";挂钩。

config/
- config.yaml               # This is the top-level Config for your whole project.
- sceptre-dependencies.yaml # This stack defines your template for buckets, iam role, topics, etc...
- project/                  # Put all your other project stacks inside
- config.yaml           # project/
- vpc.yaml              
- other-stack.yaml

StackGroup配置可能也是值得探索的。请参阅:https://docs.sceptre-project.org/latest/docs/stack_group_config.html

最新更新