【问题标题】:How to create an IAM policy for Cloudformation, which is based on a stack state?如何为 Cloudformation 创建基于堆栈状态的 IAM 策略?
【发布时间】:2019-07-08 20:20:48
【问题描述】:

我正在尝试创建一个 IAM 策略以允许删除处于 ROLLBACK_COMPLETE 状态的 Cloudformation 堆栈?

有没有办法实现这样的过滤器?

【问题讨论】:

    标签: amazon-web-services amazon-cloudformation amazon-iam


    【解决方案1】:

    不幸的是,据我所知,这是不可能的。我没有看到一种方法来应用一个只允许基于堆栈状态删除的条件。

    AWS CloudFormation 的条件键文档:Actions, Resources, and Condition Keys for AWS CloudFormation

    也许还有另一种方法可以实现您想要实现的目标?

    【讨论】:

      猜你喜欢
      • 2021-10-12
      • 2023-02-04
      • 2018-04-13
      • 1970-01-01
      • 2018-08-25
      • 2018-02-28
      • 2018-08-06
      • 2018-11-23
      • 1970-01-01
      相关资源
      最近更新 更多