Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CloudCustodian policies do an initial resource evaluation #26

Open
Richard-Hansen opened this issue Mar 29, 2021 · 0 comments
Open
Assignees

Comments

@Richard-Hansen
Copy link
Contributor

CloudCustodian policies do not do an initial evaluation of resources when deployed. We can create a second policy, this one will activate the policy when its created. A little hacky, but there don't seem to be other supported approaches.

policies:
  - name: trigger-config-eval
    resource: aws.config-rule
    filters:
      - ConfigRuleName: "my-config-rule"
    actions:
      - type: evaluate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant