【问题标题】:Cloud Custodian: Tagging snapshots (AWS)Cloud Custodian:标记快照 (AWS)
【发布时间】:2020-11-11 08:16:00
【问题描述】:

我不知道如何使用 Cloud Custodian 在 AWS 中标记快照...

文档中的示例是:

    resource: ec2
    actions:
      - type: snapshot
        tags:
          CloudCustodian: true 

但这不起作用;没有任何东西被标记。我尝试了其他一些方法,但没有运气......

【问题讨论】:

    标签: amazon-web-services amazon-ec2 cloudcustodian


    【解决方案1】:

    我认为问题在于您的操作不准确。

    试试:

    actions: 
      - type: tag
        tags:
          CloudCustodian: true 
    

    此处的文档列出了标记操作的正确类型:https://cloudcustodian.io/docs/aws/resources/aws-common-actions.html#aws-common-actions-tag

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-22
      • 1970-01-01
      • 2020-07-27
      • 2017-10-31
      • 2017-09-03
      • 1970-01-01
      相关资源
      最近更新 更多