Share via

Receiving "Failure sending request: StatusCode=0" when applying terraform in Cloud Shell Bash to create an Azure Function

Maria 10 Reputation points
2023-10-24T01:39:52.04+00:00

When I, Terraform Validate, I do not get any errors. When I apply, it creates the resource group but doesn't create the Function. It gives me the below error. I have no issues when doing this in non-production environment. Only in production environment.

TheKeyValue = I have removed the Keys for security reasons.


│ Error: creating Windows Function App: (Site Name "func-SystemService-prod" / Resource Group "rg-system-prod-auseast-01"): web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.