https://github.com/arnab-developer/azfuncterraform
Create azure function with terraform
https://github.com/arnab-developer/azfuncterraform
Last synced: 6 months ago
JSON representation
Create azure function with terraform
- Host: GitHub
- URL: https://github.com/arnab-developer/azfuncterraform
- Owner: Arnab-Developer
- License: mit
- Created: 2025-03-19T09:05:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T09:19:54.000Z (over 1 year ago)
- Last Synced: 2025-03-19T10:23:33.268Z (over 1 year ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Function Terraform
Create azure function with terraform. After creating the function, we need to deploy the code inside it.
Code deploy steps:
- Create a new function app in visual studio.
- Publish that function app in a folder.
- Zip that folder with `publish.zip` name.
- Run azure cli command to deploy in the azure function app.
```powershell
az functionapp deployment source config-zip `
-g "rg-terraapp1-dev" `
-n "func-terraapp1-dev" `
--src "./publish.zip"
```