1 Answer
- Newest
- Most votes
- Most comments
0
To use the AWS Parameters and Secrets Lambda Extension within your own custom Lambda extension, the main challenge is ensuring that your extension accesses the local HTTP endpoint (localhost:2773
) after the AWS extension is fully initialized.
The "connection refused" error likely occurs because your custom extension attempts to connect before the AWS Parameters and Secrets extension is ready.
To resolve this, you can implement a retry mechanism with exponential backoff or check the readiness of the extension before making HTTP requests, ensuring your extension runs after the AWS-provided one.
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago