awslabs / aws-config-rules

[Node, Python, Java] Repository of sample Custom Rules for AWS Config.
http://aws.amazon.com/config/
Creative Commons Zero v1.0 Universal
1.58k stars 851 forks source link

Operational-Best-Practices-for-NZISM.yaml is too long to be used #399

Open smozely opened 1 year ago

smozely commented 1 year ago

AWS Config seems to have a limit of 51000 chars for Compliance Pack files.

The NZISM file is ~51461 char, so can't be used directly.

If these files are driving the "Sample template" options in the management console, its also preventing NZISM being chosen from there as well, it will fail with the same error about the file being too long.

My workaround thus far has been to remove some rules, for services that we know we don't use.

craigar-amazon commented 1 year ago

We've trimmed some comment characters from the yaml to bring it under the 51200 limit. Console deployments will complete now. Please try again.