Skip to content

Matonen/blog-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Examples

This repository contains code examples and projects referenced in blog posts.

Overview

These examples are designed for developers deploying Azure resources using the Azure CLI and Bicep. Each example is categorized under relevant topics within the repository.

Prerequisites

  • Visual Studio Code
  • Azure CLI

Deploy Azure Infra

Follow these steps to deploy solutions to Azure:

  1. Open a terminal

  2. Log in using your Microsoft Entra ID credentials:

    az login
  3. Navigate to the directory:

    cd infra/bicep/stacks/{stack}
  4. Verify the changes using the what-if command:

    az deployment sub what-if --subscription {subscription} --location {location} --template-file main.bicep --parameters {env}.bicepparam
  5. Deploy the stack:

    az stack sub create --name {stack} --subscription {subscription} --location {location} --deny-settings-mode none --action-on-unmanage detachAll --template-file main.bicep --parameters {env}.bicepparam

Replace placeholders (e.g., {stack}, {subscription}, {location}, {env}) with your actual parameters.

Deployment stacks is not supported in Microsoft Graph Bicep. Thus to deploy fabric-mirroring stack we need to use az deployment command.

az deployment sub create --subscription {subscription} --location {location} --template-file main.bicep --parameters {env}.bicepparam

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published