Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ARM project includes:

AzureARMProject/ ├── templates/ │ └── mainTemplate.json ├── parameters/ │ └── dev.parameters.json ├── README.md └── .gitignore

Install Azure CLI:

Windows: Download the installer from the Azure CLI installation page. macOS: Use Homebrew:

brew install azure-cli

Verify Installation: Open a terminal and run:

az --version You should see the installed Azure CLI version.

Sign In to Azure:

az login This command will open a browser window for authentication. Complete the sign-in process.

Validate and Test Your Templates

Before deploying, it's crucial to validate your templates to catch any syntax or configuration errors.

create a Resource Group (if you don't have one): az group create --name MyResourceGroup --location eastus

1. Using Azure CLI

Open the integrated terminal in VS Code (Ctrl+`` or Cmd+`` on macOS) and navigate to your project directory.

Run the validation command:

az deployment group validate \
  --resource-group <YourResourceGroupName> \
  --template-file templates/mainTemplate.json \
  --parameters parameters/dev.parameters.json

Run the create command:

az deployment group create \
  --resource-group az-group-rg \
  --template-file mainTemplate.json \
  --parameters parameters.json

About

Azure ARM project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors