Why Image Builder Lifecycle policy does not select for removal properly tagged resources?

0

On AWS Image Builder I've created a lifecycle policy stating to remove older than 6 months resources, retaining latest 2, all of which tagged.

      PolicyDetails:
        - Action:
            IncludeResources:
              Amis: True
              Snapshots: True
            Type: DELETE
          Filter:
            RetainAtLeast: 2
            Type: AGE
            Unit: MONTHS
            Value: 6
      ResourceSelection:
        TagMap:
          "CreatedBy": "EC2 Image Builder"

However any image/AMI/snapshot older than 6 months are not removed. The action logs shows no impacted resources. All AMIs and snapshots have the tag as defined above.

Roney
질문됨 3달 전66회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인