An open API service indexing awesome lists of open source software.

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

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