Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_linux_web_app should allow python 3.10 #18726

Closed
1 task done
dimbleby opened this issue Oct 12, 2022 · 2 comments · Fixed by #18744
Closed
1 task done

azurerm_linux_web_app should allow python 3.10 #18726

dimbleby opened this issue Oct 12, 2022 · 2 comments · Fixed by #18744

Comments

@dimbleby
Copy link
Contributor

dimbleby commented Oct 12, 2022

Is there an existing issue for this?

  • I have searched the existing issues

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 Version

1.3.2

AzureRM Provider Version

3.26.0

Affected Resource(s)/Data Source(s)

azurerm_linux_web_app

Terraform Configuration Files

resource "azurerm_linux_web_app" "treasure" {
  ...
  site_config {
    application_stack {
      python_version = "3.10"
    }
  }
}

Debug Output/Panic Output

Error: expected site_config.0.application_stack.0.python_version to be one of [3.7 3.8 3.9], got 3.10

Expected Behaviour

should have configured a web app with python 3.10 as the stack

Actual Behaviour

failed with output as above

Steps to Reproduce

terraform apply

Important Factoids

evidence that azure supports this:

$ az webapp list-runtimes --os linux | grep PYTHON
  "PYTHON:3.10",
  "PYTHON:3.9",
  "PYTHON:3.8",
  "PYTHON:3.7",

References

No response

@xiaxyi
Copy link
Contributor

xiaxyi commented Oct 13, 2022

Thanks @dimbleby for raising this issue, let me check and will submit a pr once confirmed

@github-actions
Copy link

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 github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants