Azure / Azure/azure-quickstart-templates

Azure Storage account deployment with ARM

Open
#13,333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

I want to deploy storage account using arm template. ARM template should handle below 2 cases.

  1. If storage account not exists, create.
  2. if storage account exists, don't create.

User wont pass any variable to ARM for storage account exists or not.

ARM should identify storage account exists or not, if not exists create storage account.

Issue Details
Repro steps (if necessary, delete otherwise)
  1. Create template spec at subscription level to create storage account and blob ( if both not exists )
  2. Validate template spec.
  3. Deploy template spec.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the subscription-level template spec and its ARM template deployment flow described in the repro steps. Validate how deployment behaves when the storage account and blob already exist versus when they do not. Done means the template can identify both cases without an input variable and deploys successfully in each scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.