You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An existing lambda layer with the arn value:
An existing RDK rule created with the runtime: python3.11-lib
I use the flag to use the generated RDK lib lambda layer
May be it is better to call the __get_lambda_layers method, which will check for the right RDK lib arn to add only once, depending on the presence of the -g flag or not.
This solution comes with the benefits of defining the order of precedence when setting the RDK lin layer arn as follow:
the one specified by the flag -g|--generated-lambda-layer
The one specified by the flag --rdklib-layer-arn
The default one from the non-lib runtimes
Best,
The text was updated successfully, but these errors were encountered:
BUG REPORT
SUMMARY
GIVEN
An existing lambda layer with the arn value:
An existing RDK rule created with the runtime:
python3.11-lib
I use the flag to use the generated RDK lib lambda layer
WHEN
I run the following command:
THEN
The resulting lambda only have as lambda layers thie one: .
The RDK lib lambda layer hasn't been added as a layer.
EXPECTED RESULT
The RDK lib lambda layer to be added as a layer.
DIAGNOSTIC AND PROPOSED SOLUTION
The issue come the following line
aws-config-rdk/rdk/rdk.py
Lines 4238 to 4239 in 9b9e990
May be it is better to call the
__get_lambda_layers
method, which will check for the right RDK lib arn to add only once, depending on the presence of the-g
flag or not.This solution comes with the benefits of defining the order of precedence when setting the RDK lin layer arn as follow:
-g|--generated-lambda-layer
--rdklib-layer-arn
Best,
The text was updated successfully, but these errors were encountered: