@Michael McCarthy Thanks for posting your question in Microsoft QnA. apologize for any inconvenience caused on this.
Since the endpoint is in cold state you are not able to deploy the event grid subscription using the Iac tools.
To avoid this failure during the creation of the event grid subscription you can point the webhook endpoint to this dummy endpoint which is available in this site "https://webhook.site/#!/view/7c7bedf5-825c-4f16-967e-f26b2dad1ab3"
Once the endpoint becomes active you can add another task in the template and by using this AzCLI cmdlets az eventgid topic event-subscription-create cmdlet
Hope this helps, let me know if you have any further questions on this.