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
When attempting to retrieve multiple parameters from AWS Systems Manager (SSM) using the recursive flag, we should have access to all the parameters in a given path. If I have the parameters /leo/aa, /leo/aa/cc and /leo/aa/cc/zz, I should be able to fetch all of them by using all_parameters = ssm_provider.get_multiple("/leo", recursive=True), but this is not working.
Current Behaviour
If I have the parameters /leo/aa, /leo/aa/cc and /leo/aa/cc/zz and useall_parameters = ssm_provider.get_multiple("/leo", recursive=True), this only fetch the first level, which is aa.
Expected Behaviour
When attempting to retrieve multiple parameters from AWS Systems Manager (SSM) using the recursive flag, we should have access to all the parameters in a given path. If I have the parameters
/leo/aa
,/leo/aa/cc
and/leo/aa/cc/zz
, I should be able to fetch all of them by usingall_parameters = ssm_provider.get_multiple("/leo", recursive=True)
, but this is not working.Current Behaviour
If I have the parameters
/leo/aa
,/leo/aa/cc
and/leo/aa/cc/zz
and useall_parameters = ssm_provider.get_multiple("/leo", recursive=True)
, this only fetch the first level, which isaa
.Code snippet
Possible Solution
Need to pass the recursive parameter here: https://github.com/aws-powertools/powertools-lambda-python/blob/develop/aws_lambda_powertools/utilities/parameters/base.py#L210
Steps to Reproduce
Create parameters and deploy a Lambda with the provided code.
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: