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
preguntada hace 3 meses66 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas