Skip to content
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

Update Lambda to not make API calls to Secrets Manager if secret is not configured. #74

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

pbraz-aws
Copy link
Contributor

Issue #, if available:
55

Description of changes:

  • Updated Lambda function to only make API calls to Secrets Manager if the end user has configured that endpoint.
  • Updated CloudFormation template to include an Environment Variable for the configured endpoint.

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

Added check to skip Secrets Manager API call if secret is set to "None"
@jordanaroth jordanaroth merged commit 9a7ac43 into aws-samples:main Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants