Azure function app function disappears from the portal after creation

Anna Sukiasyan 0 Reputation points

I'm provisioning an azure function app function via terraform. It shows up on the portal for a few minutes and then disappears. When I try to access it through the function URL it throws a 404. I've tried using multiple versions of azurerm provider, to destroy all resources and recreate them from scratch. Nothing fixes the issue. Also, there is no error logs showing up in the activity log. Any ideas?

I found that there is an issue open from 2022 that describes this behaviour

The error message that I've received from terraform today:tf_error

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,180 questions
{count} votes