How to set up cloud custodian on Docker
问题 All, I am trying to implement cloud custodian solution on AWS ECS scheduled task on Fargate. My Dockerfile looks like: FROM cloudcustodian/c7n:latest WORKDIR /opt/src COPY policy.yml policy.yml COPY mailer.yml mailer.yml ENTRYPOINT [ "/bin/sh" ] where policy.yml looks like policies: - name: c7n-mailer-test resource: sqs filters: - "tag:MailerTest": absent actions: - type: notify template: default priority_header: '2' subject: testing the c7n mailer to: - test@mydomain.com transport: type: sqs