Closed ryryNguyen closed 1 month ago
Yes, you can reference environment variables just like you've shown in your example. From your error message, it actually appears to be working since the message is referencing a real URL and not the literal string, "%EVENT_GRID_TOPIC_ENDPOINT%"
.
In your case, where is the URL https://eg-topic.southcentralus-1.eventgrid.azure.net/api/event
coming from?
@cgillum Thank you for your prompt response!
As I am writing this, this is 100% on me🤦. I just realized that I accidentally forgot a "s" in events
Instead of https://eg-topic.southcentralus-1.eventgrid.azure.net/api/event
it should have been https://eg-topic.southcentralus-1.eventgrid.azure.net/api/events
. I've verified that it is working as soon as I corrected it. Thank you!
Hi there,
I have question regarding whether the this variable eventGridTopicEndpoint in the host.json is able to reference the application's environment variables?
Currently, I've deployed the application with the following setting, where
EVENT_GRID_TOPIC_ENDPOINT
is set using the following format detailed in Durable Functions 2.x, i.e.,https://<topic_name>.westus2-1.eventgrid.azure.net/api/events
I've verified that the application's environment variable
EVENT_GRID_TOPIC_ENDPOINT
is correct, however, I am still seeing the following logsI am using the following
ExtensionBundle
version