-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New component: AWS Secrets Manager Provider #19368
Comments
Upstream Link: aws-observability/aws-otel-collector#1894 |
@mhausenblas , do you want to Sponsor? |
@driverpt while I'm supportive, I technically can't sponsor it since I ain't no maintainer ;) CC: @Aneurysm9 |
I'm not following this part. To inject secrets into environment variables in lambda, do you need to attach it to a VPC? Have you considered this alternative? https://aws.amazon.com/blogs/compute/creating-aws-lambda-environmental-variables-from-aws-secrets-manager/ |
Hello @rapphil , haven't tried that yet. Will make sure I give it a shot on Monday. But from a quick read through out the article, it seems that it only works for Will give more feedback once I try it. |
Hello @driverpt , can you clarify the statement about IP Exhaustion if you have a lot of invocations? I'm still interested in that specific issue in the context of secrets manager. |
Hello @rapphil , we require SecretsManager to be able to Inject the External Observability Provider Key in OTEL Collector. Currently on ECS we can use the This would allow us to have VPC-less Lambdas and be able to use OTEL Collector as a Layer instead of the need to attach Lambdas to VPC + OTEL Collector on ECS. If we have a lot of concurrent Lambda Invocations we will exhaust the DHCP IP Pool |
I'm happy to sponsor this component, but I think I'd like it to be somewhat more general. Because each config provider needs a URI-like scheme identifier, and because most AWS resources can be referenced with URN-like ARNs, I'm thinking that an |
@Aneurysm9 , I wanted to create the PR with
WDYT ? |
I don't think that's a problem we need to solve at this point for adding AWS Secrets Manager support as we can use the ARN. Given that they have the form |
Partition is missing, What do you suggest that I change in the PR I've created? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
No stale |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
Ping |
I will sponsor this new component. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
Any ETA on this one? |
We need help to resolve the conflict on #19341 and we can then move forward. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
== This is continuation of #19341 == **Description:** Adding AWS SecretsManager Support. To be able to inject secrets via AWS Lambda Layer **Link to tracking Issue:** [19368](#19368) **Testing:** Test fetching via SecretsManager emulating AWS API **Documentation:** README.md --------- Co-authored-by: Luís Duarte <lduarte@luisduarte.net>
== This is continuation of open-telemetry#19341 == **Description:** Adding AWS SecretsManager Support. To be able to inject secrets via AWS Lambda Layer **Link to tracking Issue:** [19368](open-telemetry#19368) **Testing:** Test fetching via SecretsManager emulating AWS API **Documentation:** README.md --------- Co-authored-by: Luís Duarte <lduarte@luisduarte.net>
Completed! |
The purpose and use-cases of the new component
Currently OTEL Collector in AWS is used in ECS, since ECS injects secrets directly from AWS Secrets Manager to Environment Variables. This forces us to attach AWS Lambdas in VPC's to be able to route all Telemetry to ECS Container running OTEL Collector.
For better resource usage, we would like to use OTEL Collector as Lambda Layer and inject the secrets, so that there's no need to attach to a specific VPC and potentially causing IP Exhaustion if you have a lot of invocations.
Example configuration for the component
Telemetry data types supported
N/A
Is this a vendor-specific component?
Sponsor (optional)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: