arcus-azure / arcus-azure/arcus.scripting

Bicep - Inject Xml

Open
#457 5 comments 0 reactions 0 assignees View on GitHub
area:arm feature-request
Dominant language
PowerShell
Stars
10
Forks
13
PR merge metrics
No merged PRs in 30d

Description

We want to inject API-M policies, which are xml files.
But in the InjectARM, you can just write plain xml and it is the InjectARM script that turns this into encoded values so the bicep can handle it.

When you use https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-files you also do have this issue.

So basically I would like a bicep version of : https://github.com/arcus-azure/arcus.scripting/blob/main/src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1

Contributor guide

Open the contributing guide

Research direction

Start by reading src/Arcus.Scripting.ARM/Scripts/Inject-ArmContent.ps1 and the linked Bicep file-functions documentation. Compare how InjectARM turns plain XML into encoded values, then define the Bicep equivalent for injecting API-M policy XML and verify that the resulting values can be consumed by Bicep.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.