Terraform-provider-azurerm: Linux consumption plan apps created using terraform return 503 because of WEBSITE_CONTENT* settings

Created on 18 Dec 2019  ·  3Comments  ·  Source: terraform-providers/terraform-provider-azurerm

If WEBSITE_CONTENTSHARE and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING app settings are set for Linux Consumption, the datarole will throw AzureFiles mounting blocked for site and both host and scm worker will return 503.

Source.

Should be restored once the backend is fixed, as per:
https://github.com/Azure/azure-functions-core-tools/issues/1439

Community Note

  • Please vote on this issue by adding a 👍 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 (and AzureRM Provider) Version

Terraform v0.12.13
azurerm v1.39.0

Affected Resource(s)

  • azurerm_function_app

Terraform Configuration Files

Anything that sets kind="Linux" in the resource plan.

Expected Behavior

Mentioned settings not present, empty function app loads the welcome page (/) properly.

Actual Behavior

Settings preset, app returns 503.

Steps to Reproduce

  1. Create any Linux consumption plan app tf file.
  2. terraform apply

References

bug servicfunctions

Most helpful comment

@xuzhang3 - is this likely to be fixed soon? I'm hitting the problem as well. I'm happy to help test.

All 3 comments

@xuzhang3 - is this likely to be fixed soon? I'm hitting the problem as well. I'm happy to help test.

@robertlagrant, I've raised a PR that does what's requested here, however I'm not sure that it will resolve the issue fully and further unknown changes might be needed. Even without WEBSITE_CONTENTSHARE and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING, my Linux Consumption plan app still couldn't get its requirements installed from requirements.txt.

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings