aztfexport icon indicating copy to clipboard operation
aztfexport copied to clipboard

The Gateway did not recieve a response from "Microsoft.AzureTerraform" within the specicified period of time.

Open arindam0310018 opened this issue 7 months ago • 1 comments

Hello Team, I encountered the error while exporting the entire resource where my Azure services exists - The Gateway did not recieve a response from "Microsoft.AzureTerraform" within the specicified period of time.

I browsed to the Resource Group AM-ContainerApps-RG > Automation > Export Template > Terraform > AzureRM

Image

The Export started but it took a long time before throwing the Error

Image

Image

Next I did is, went inside the Resource group and selected all the resources and then expected.

Image

The Export was successful.

Image

My question: Is this the right approach ? Why do I have to select all resources inside a Resource Group to export ? Why can we export Terraform configuration files from Resource Group Level ?

Kindly Respond.

arindam0310018 avatar May 22 '25 11:05 arindam0310018

@arindam0310018 Thanks for raising the issue! Normally the resource group export should also work. The error you received might indicates the service didn't respond until timeout. Could you please run the resource group export again, and get the x-ms-correlation-request-id from the response header?

The way you get it is a little bit inconvinient:

Before clicking the "Export template" button, press F12 to open your browser's devtool. Then click on "Export template", meanwhile go to "Network" tab and look at the first batch request:

Image

Confirm this batch request includes a request to the Microsoft.AzureTerraform service.

Then click on the "Headers" and get the x-ms-correlation-request-id. So that we can take another look at.

magodo avatar May 22 '25 23:05 magodo