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

Lambda Layer is not attaching #15

Closed 0xjjoyy closed 4 years ago

0xjjoyy commented 4 years ago

Hello,

Running the command by passing the "--rdlib-layer-arn" does not attach the RDKLib layer to the lambda. I have to manually attach the lambda layer.

rdk deploy YOUR_RULE_NAME --rdklib-layer-arn YOUR_RDKLIB_LAYER_ARN

Please let us know if there is some other parameter that should be passed, or if this is something that needs to be investigated.

Thanks

0xjjoyy commented 4 years ago

Closing, solution is "SourceRuntime": "python3.6-lib"