https://github.com/mjisaak/azure-func-with-bicep
Simple demo project that deploys an Azure Function (Typescript, Node) with Bicep and GitHub Actions
https://github.com/mjisaak/azure-func-with-bicep
azure azure-functions bicep infrastructure-as-code nodejs typescript
Last synced: 26 days ago
JSON representation
Simple demo project that deploys an Azure Function (Typescript, Node) with Bicep and GitHub Actions
- Host: GitHub
- URL: https://github.com/mjisaak/azure-func-with-bicep
- Owner: mjisaak
- License: mit
- Created: 2021-05-12T06:25:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-11T11:29:10.000Z (over 2 years ago)
- Last Synced: 2023-03-07T10:26:47.158Z (about 2 years ago)
- Topics: azure, azure-functions, bicep, infrastructure-as-code, nodejs, typescript
- Language: Bicep
- Homepage:
- Size: 48.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Function
The goal of this repository is to demonstrate the deployment of a Typescript based Azure Function with the `WEBSITE_RUN_FROM_PACKAGE` option.
This sample uses Bicep to create the necessary infrastructure for the project.## Prerequisites
- Azure Function CLI
- Azure CLI
- Azure Bicep## Usage
You can deploy the sample using the `Azure CLI`:
```bash
az deployment group create -f "./src/infrastructure/main.bicep" -g "rg-my-sample"
```## How I've created the project
### Function
- Scaffold the function project using `func init`. Select `node` for the worker runtime and `typescript` for the language.
- Scaffold a function using `func new` and select the `Http trigger` template