awslabs / aws-config-rdklib

Python library to enable you to run custom AWS Config Rules at scale, using Lambda Layer.
Apache License 2.0
94 stars 26 forks source link

check-for-az-presence-in-ci #75

Closed bmorrissirromb closed 9 months ago

bmorrissirromb commented 9 months ago

Issue #, if available: N/A

Description of changes: Similar to https://github.com/awslabs/aws-config-rdklib/pull/58/commits/f4a10cd6f96644b667804c039db430b351ce0ca2, the AZ key isn't guaranteed to be populated in a given CI. Therefore, we need some data handling around it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bmorrissirromb commented 9 months ago

Merging -- lifted a decent amount of this content from @RhysHoad (thank you!), but wanted to make sure it used my linting preferences locally and didn't want to deal with the headache that is locally checking out a fork with the intent of merging it into the main line.