I was wondering about AWS Lambda Function URLs, in this post https://www.pulumi.com/blog/lambda-urls-launch/ it says it’s that you need to use the function ID as part of the URL.
What I’m looking to do is to have a Lambda w/Function URL and have some other service call it over HTTP and it will not know the function ID when starting.
am I missing something here? if this was a public API, I’d use DNS for this… does this mean I have to use the SDK to invoke it or something like that?
b
brave-planet-10645
02/17/2023, 10:29 AM
Can you export the url as an output of the stack and access it that way?
I can export it, but I would have to find a way to add this as config to this other service 🤔
b
brave-planet-10645
02/17/2023, 11:04 AM
Yes you would need to, but that would be the same if you needed to know a dns name. You’d either have to hard code it or add it to config somewhere.
How are you deploying your other service?
b
bright-wall-79582
02/17/2023, 11:26 AM
they’re two different repos and running their own CI pipelines.
I guess it’s like you said, I’d just have to make sure the Lambda is deployed and then get the config from the export.