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

Update mugc.py #8670

Merged
merged 1 commit into from Jun 23, 2023
Merged

Update mugc.py #8670

merged 1 commit into from Jun 23, 2023

Conversation

AntonioDeJesus
Copy link
Contributor

--policies argument in mugc.py is passing a string instead of a list.

Results:
% python3 ../tools/ops/mugc.py policies.yaml --policies "s3-cross-account" --policies "ec2-require-non-public-and-encrypted-volumes" --policies "tag-compliance"
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "t" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "a" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "g" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "-" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "c" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "o" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "m" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "p" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "l" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "i" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "a" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "n" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "c" did not match any policies.
2023-06-22 10:37:29,177: c7n.policies:WARNING Policy pattern "e" did not match any policies.

use list arg for policies mugc.py input
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 22, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: AntonioDeJesus / name: Tony DeJesus (c01e003)

Copy link
Collaborator

@kapilt kapilt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks

@kapilt kapilt merged commit c18a82a into cloud-custodian:main Jun 23, 2023
12 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants