How to deploy an Azure Function using Terraform and AZD #4442
Unanswered
sebastian-kucharzyk-tr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR
Did anyone have luck deploying an API to Azure Functions using AZD and can share their code?
Hi, I'm trying to deploy an Azure function based on Python using Terraform and AZD, however, I can't make that work. I'm trying to base my solution on fastapi-on-azure-functions. The key parts I have in terraform are:
main.tf:
And the azure.yaml:
Unfortunately, after deployment, the Function app is created, however, the function itself is not running. Even in Azure Platform I can see just the placeholder to set it up. When I execute the bicep template shared above, everything works fine 🤔.
Beta Was this translation helpful? Give feedback.
All reactions