microsoft / microsoft/finops-toolkit

Add @include directive for Bicep templating

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Skill: Deployment
Dominant language
PowerShell
Stars
603
Forks
248
Avg merge
7d 11h
Merged PRs (30d)
11

Description

⚠️ Problem

There are some common patterns that we'll use in multiple bicep files that could be error prone when repeated often or introduce maintenance burden when needing to update them.

🛠️ Solution

Add an option to include reusable files using our Bicep templating. Something like:

// @include ../../include/telemetry.bicep

Consider explicit directives for the most common scenarios, like telemetry.

// @telemetry 'unique-id'

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Leave comments to help us solidify the vision.

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 issue names reusable Bicep files and gives ../../include/telemetry.bicep as an example, but it names no repository files or tests. Start by locating the Bicep templating entry point and related templates; done should include an agreed directive design and support for the common telemetry scenario.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.