sammydeprez / bicep-templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BICEP templates for different AI solutions

Bot Project

Architecture Schema

Link to Draw.IO

Deployment

Login

az login

Set Subscription

az account set --subscription {SubscriptionID|SubscriptionName}

Build

az bicep build --file bot-project/main.bicep

Deploy

Subscription Scope
az deployment sub create `
--location westeurope `
--template-file bot-project/main.bicep `
--parameters `
    location='westeurope' `
    environment='dev' `
    projectName='{projectName}' `
    adminUserId="['{UserId}']" `
    devopsUserId="['{UserId}']" `
    botName='{BotName}' `
    applicationId='{AppId}' `
    applicationSecret='{AppSecret}' `
    buildId='Manually Deployed'
Resource Group Scope
az deployment group create `
--resource-group {rg-myresourcegroup} `
--template-file bot-project/bot-template.bicep `
--parameters `
    location='westeurope' `
    environment='dev' `
    projectName='{projectName}' `
    adminUserId="['{UserId}']" `
    devopsUserId="['{UserId}']" `
    botName='{BotName}' `
    applicationId='{AppId}' `
    applicationSecret='{AppSecret}' `
    buildId='Manually Deployed'

About


Languages

Language:Bicep 100.0%