Skip to content

Instantly share code, notes, and snippets.

@adrianhall
Created March 25, 2020 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianhall/db9310ddd6ddb46fa3a9a046af118090 to your computer and use it in GitHub Desktop.
Save adrianhall/db9310ddd6ddb46fa3a9a046af118090 to your computer and use it in GitHub Desktop.
Terraform debug output
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: [DEBUG] AzureRM Request:
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: PUT /subscriptions/XXXXXXXX-0871-4889-9045-d554e72e0ef0/resourceGroups/smud-dev/providers/Microsoft.Web/sites/appwiflofbm?api-version=2019-08-01 HTTP/1.1
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Host: management.azure.com
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: User-Agent: Go/go1.12.6 (amd64-windows) go-autorest/v13.3.0 Azure-SDK-For-Go/v38.1.0 web/2019-08-01 HashiCorp Terraform/0.12.24 (+https://www.terraform.io) Terraform Plugin SDK/1.6.0 terraform-provider-azurerm/2.2.0 pid-222c6c49-1b0a-5959-a213-6608f9eb88202020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Content-Length: 1413
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Content-Type: application/json; charset=utf-8
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Ms-Correlation-Request-Id: 044e9174-3478-2e08-b148-d6035e9b62fa
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Accept-Encoding: gzip
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe:
2020-03-25T11:21:10.221-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: {"kind":"functionapp","location":"westus","properties":{"enabled":true,"serverFarmId":"/subscriptions/XXXXXXXX-0871-4889-9045-d554e72e0ef0/resourceGroups/smud-dev/providers/Microsoft.Web/serverfarms/appwiflofbm-plan","siteConfig":{"linuxFxVersion":"","appSettings":[{"name":"AzureWebJobsStorage","value":"DefaultEndpointsProtocol=https;AccountName=skjr0c4fru27udo1kvckr6j1;AccountKey=REDACTED;EndpointSuffix=core.windows.net"},{"name":"FUNCTIONS_EXTENSION_VERSION","value":"~3"},{"name":"AzureWebJobsDashboard","value":"DefaultEndpointsProtocol=https;AccountName=skjr0c4fru27udo1kvckr6j1;AccountKey=REDACTED;EndpointSuffix=core.windows.net"},{"name":"WEBSITE_CONTENTSHARE","value":"appwiflofbm-content"},{"name":"WEBSITE_CONTENTAZUREFILECONNECTIONSTRING","value":"DefaultEndpointsProtocol=https;AccountName=skjr0c4fru27udo1kvckr6j1;AccountKey=REDACTED;EndpointSuffix=core.windows.net"}],"use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"cors":{"allowedOrigins":["*"],"supportCredentials":true},"ipSecurityRestrictions":[],"http20Enabled":false,"ftpsState":"Disabled"},"clientAffinityEnabled":true,"dailyMemoryTimeQuota":0,"httpsOnly":true},"tags":{}}
2020/03/25 11:21:13 [TRACE] dag/walk: vertex "output.webapi" is waiting for "azurerm_function_app.api"
2020/03/25 11:21:13 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/03/25 11:21:13 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "output.webapi"2020/03/25 11:21:13 [TRACE] dag/walk: vertex "provider.azurerm (close)" is waiting for "azurerm_function_app.api"
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/XXXXXXXX-0871-4889-9045-d554e72e0ef0/resourceGroups/smud-dev/providers/Microsoft.Web/sites/appwiflofbm?api-version=2019-08-01:
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: HTTP/2.0 409 Conflict
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Content-Length: 673
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Cache-Control: no-cache
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Content-Type: application/json; charset=utf-8
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Date: Wed, 25 Mar 2020 18:21:12 GMT
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Expires: -1
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Pragma: no-cache
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Server: Microsoft-IIS/10.0
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: Strict-Transport-Security: max-age=31536000; includeSubDomains
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Aspnet-Version: 4.0.30319
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Content-Type-Options: nosniff
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Ms-Correlation-Request-Id: 044e9174-3478-2e08-b148-d6035e9b62fa
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: 497
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Ms-Request-Id: a5348d75-0fa8-4bd1-a3fe-92de863d69d0
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Ms-Routing-Request-Id: WESTUS2:20200325T182113Z:a5348d75-0fa8-4bd1-a3fe-92de863d69d0
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: X-Powered-By: ASP.NET
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe:
2020-03-25T11:21:13.176-0700 [DEBUG] plugin.terraform-provider-azurerm_v2.2.0_x5.exe: {"Code":"Conflict","Message":"Cannot update the site 'appwiflofbm' because SupportCredentials can not be true when allowedOrigins includes '*'","Target":null,"Details":[{"Message":"Cannot update the site 'appwiflofbm' because SupportCredentials can not be
true when allowedOrigins includes '*'"},{"Code":"Conflict"},{"ErrorEntity":{"ExtendedCode":"04531","MessageTemplate":"Cannot update the site '{0}' because SupportCredentials can not be true when allowedOrigins includes '*'","Parameters":["appwiflofbm"],"Code":"Conflict","Message":"Cannot update the site 'appwiflofbm' because SupportCredentials can not be true when allowedOrigins includes '*'"}}],"Innererror":null}
2020/03/25 11:21:13 [DEBUG] azurerm_function_app.api: apply errored, but we're indicating that via the Error pointer rather than returning it: web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> <nil>
2020/03/25 11:21:13 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2020/03/25 11:21:13 [TRACE] EvalMaybeTainted: azurerm_function_app.api encountered an error during creation, so it is now marked as tainted
2020/03/25 11:21:13 [TRACE] <root>: eval: *terraform.EvalWriteState
2020/03/25 11:21:13 [TRACE] EvalWriteState: removing state object for azurerm_function_app.api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment