Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fusic/azure_webserver_bicep

Template for building infrastructure for a web server.
https://github.com/fusic/azure_webserver_bicep

Last synced: 7 days ago
JSON representation

Template for building infrastructure for a web server.

Awesome Lists containing this project

README

        

# Azure Bicep Template - Web Server Sample

Template for building infrastructure for a web server.

## Login Azure and create resource group

```bash
$ az login
$ az group create --name your_resource_group --location 'Japan East'
$ az configure --defaults group=your_resource_group
```

## Deploy by Bicep

```bash
$ cd bicep
$ az deployment group create --template-file main.bicep --parameters main.parameters.json
```

## Compile and Decompile

```
# Compile
$ az bicep build --file bicep/main.bicep

# Decompile
$ az bicep decompile --file arm/main.json
```