Azure / Azure/azure-quickstart-templates

With regards to duplicate keys in templates

Open
#5,855 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Hi,

I've detected various instances of duplicate keys in templates.

Since the ARM template engine seems to accept these JSON files, I'd like to know if there is a defined behavior for these cases (is it guaranteed to only pay attention to the first or last key? Is this documented somewhere?). It would be awesome that the ARM template service simply wouldn't accept templates with duplicate keys, since it makes templates more straightforward, less surprising and easier to understand.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file or test is named. Start by investigating how the ARM template engine handles duplicate keys in the JSON templates described here and whether that behavior is documented. Done means the behavior is documented or the scope and validation path for rejecting duplicate keys are clearly established.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.