terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

azurerm_windows_web_app is unavailable (503) when I set application stack dotnetcore version = v3.0

Open JohnBoneJones opened this issue 3 years ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.1.9

AzureRM Provider Version

3.10.0

Affected Resource(s)/Data Source(s)

azurerm_windows_web_app

Terraform Configuration Files

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_service_plan" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
  os_type = "Windows"
  sku_name            = "B1"
}

resource "azurerm_windows_web_app" "example1" {
  name                = "example1z"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_service_plan.example.location
  service_plan_id     = azurerm_service_plan.example.id

  site_config {
    application_stack {
      current_stack  = "dotnetcore"
      dotnet_version = "v3.0"
    }
    ftps_state = "AllAllowed"
  }
  zip_deploy_file = "./deploy/LoginNCCDeploy.zip"
}

Debug Output/Panic Output

This page isn’t working right nowexample1z.azurewebsites.net didn’t send any data.
ERR_EMPTY_RESPONSE

Expected Behaviour

No response

Actual Behaviour

No response

Steps to Reproduce

No response

Important Factoids

No response

References

No response

JohnBoneJones avatar Jun 14 '22 03:06 JohnBoneJones

@JohnBoneJones This issue is being tracked in https://github.com/hashicorp/terraform-provider-azurerm/issues/16867

xiaxyi avatar Jun 16 '22 00:06 xiaxyi

@JohnBoneJones This issue is being tracked in #16867

And now it's still not fixed yet, right?

JohnBoneJones avatar Jun 16 '22 01:06 JohnBoneJones

@JohnBoneJones As I mentioned in that thread, the underlying IIS server have all the dotnet core runtime supported, the property doesn't have an impact on the dotnet core app. I'm still working on a solution from Terraform side, as a workaround, you can consider to set a valid runtime value for .netframeworkversion

xiaxyi avatar Jun 16 '22 01:06 xiaxyi

Thank you for your support

JohnBoneJones avatar Jun 17 '22 09:06 JohnBoneJones

Hey @JohnBoneJones , good day! Can you do me a favor which is to confirm if the DotNet core deployment is functioning well for you now? Thanks!

xiaxyi avatar Aug 11 '22 05:08 xiaxyi

Hey @JohnBoneJones , good day! Any update? Thanks!

xiaxyi avatar Aug 29 '22 02:08 xiaxyi

This functionality has been released in v3.21.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

github-actions[bot] avatar Sep 02 '22 05:09 github-actions[bot]

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Oct 05 '22 02:10 github-actions[bot]