I’m trying to create an Azure Function App using Terraform, and I’ve encountered an issue. When I specify python_version = 3.9, everything works fine. However, if I set python_version = 3.10, I receive the following error during terraform validate:
I’ve verified that creating this actual (i.e., with Python 3.10) Function App through the Azure portal works without any problems. I’m unsure why Terraform is giving me this error. Can someone help me understand what might be causing this error and how to resolve it? Thanks in advance!
I also see an open issue that seems to be asking the same thing as you did:
I suspect that this issue ought to have been closed but was forgotten because it was fixed as part of a big “rollup” PR that changed many things all at once. If you try this with provider version v3.39.0 or later then perhaps you could leave a note on that issue to let the maintainers know that it’s been fixed, so they can close the issue. Thanks!