microsoftgraph / microsoftgraph/msgraph-bicep-types

Existing syntax in language version 2 does not allow defining the same resource twice or more.

Open
#173 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug triaged
Dominant language
TypeScript
Stars
80
Forks
15
Avg merge
1h 21m
Merged PRs (30d)
3

Description

Issue is well known and defined here: https://github.com/Azure/bicep/issues/13674
Graph requires defining extension microsoftGraph syntax which automatically makes the language version of the compiled ARM template to version 2 and you make it compile to language version 1. So in the case with Graph resources the only workaround to the issue is to use resoruceId() syntax instead of existing syntax.
Issue is opened due to conversation in https://github.com/microsoftgraph/msgraph-bicep-types/issues/126

Contributor guide

Open the contributing guide

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

The payload points to Azure/bicep#13674 and msgraph-bicep-types#126, but names no local files or tests. Read those discussions first to determine the required handling for existing syntax with Microsoft Graph resources; done means the duplicate-resource case no longer requires resourceId() as a workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, compilers
Issue type
Bug
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.