项目作者: tonyt73

项目描述 :
Bicep component and module implementation
高级语言: Bicep
项目地址: git://github.com/tonyt73/Bicep.git
创建时间: 2021-05-16T06:58:09Z
项目社区:https://github.com/tonyt73/Bicep

开源协议:MIT License

下载


Bicep

A Bicep component and module implementation

This project uses a system of components and modules written in bicep to help organise infrastructure deployments in a tidy fashion.

How to Use

  • Define an infrastructure project file
    • Build\Infrastructure\<infra project>.bicep
    • You can use the template.bicep file to create a new infrastructure file

How to do a deploy

Use the Azure CLI tool to deploy your infrastructure

  1. az deployment sub create --location <your azure location> -f .\Infrastructure\<infra project >.bicep {--parameters .\Infrastructure\params.json}
  • Parameters are optional; though any good infrastructure definition will need them.
  • Parameters are only way to interface with the Azure key vault to retrieve secrets.
    • You can’t write Bicep code yet to retrieve a key vault secret