-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secrets Manager not supported? #367
Comments
Please vend your own AWS SDK within your Python package instead of relying
on the Lambda runtime (even in SAM Local) as they might not be the latest
nor can guarantee any breaking changes.
https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html
pip install boto3 -t <src-folder-to-your-python-code> && <run sam local
again>
…On Fri, 20 Apr 2018 at 23:32 red8888 ***@***.***> wrote:
Just updated sam local and trying to use secrets manager with python I get
this error:
botocore.exceptions.UnknownServiceError: Unknown service: 'secretsmanager'.
This is using the python code snippet from the secrets manager console
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#367>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADL4BF_4I-XQysyyILo7pKUyKq7Bazbrks5tqmHkgaJpZM4TeK2j>
.
|
Going to close this issue because as @heitorlessa said, you should vend your own Boto3. This is the best practice |
qingchm
pushed a commit
to qingchm/aws-sam-cli
that referenced
this issue
Sep 17, 2021
* refactor for test command + some unit test fixes * remove some test command changes which accidentally went into refactor one * remove some test command changes which accidentally went into refactor one * sam test implementation and some groundwork * when neither payload nor payload_file is provided, it will use sys.stdin to read the payload * fix typo * use protocol instead of complex callable * use utf-8 for encoding * fix typo * use protocol instead of complex callable * address comments * address comments * feat(Accelerate): CI Fixes (aws#368) * Reverted pylint to 2.6.x * Disables PyLint for Generic * Updated boto3-stubs * Fixed Another PyLint Generic Issue * Fixed Test Typing Issues * Fixed Python3.7 and 3.8 re.escape Test Issue * Added ECR Login * fix unit tests * address comments * address comments * address comments * update log message * flip the flag back once we have new log group is created * feat: sam test lambda implementation (aws#366) * sam test lambda implementation * when neither payload nor payload_file is provided, it will use sys.stdin to read the payload * use utf-8 for encoding * fix typo * use protocol instead of complex callable * address comments & update with ability to pipe file input into test execution * feat: sam test sqs implementation (aws#367) * sam test sqs implementation * when neither payload nor payload_file is provided, it will use sys.stdin to read the payload * use utf-8 for encoding * fix typo * use protocol instead of complex callable * address comments & update with ability to pipe file input into test execution * address comments & update sqs test executor * added extra debug logging * address comments * address comments * make black Co-authored-by: Cosh_ <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just updated sam local and trying to use secrets manager with python I get this error:
botocore.exceptions.UnknownServiceError: Unknown service: 'secretsmanager'.
This is using the python code snippet from the secrets manager console
The text was updated successfully, but these errors were encountered: