Open lstroud opened 5 years ago
The only way you could do this is by deploying via cloudformation, where you could inject the url / lambda name as an environment variable by using a ref. I think this would be very useful in general though, especially for things like canaries. Marking as a feature request.
I have a chalice project that contains some api (@route) functions and an @app.schedule function. Is there any way to get the name of the deployed api lambda or api url from the scheduled function without hardcoding it?