Skip to content

Deletion of bicep file with parameter file - JSON serialization #849

Closed
@mathwro

Description

@mathwro

Describe the bug

When i'm deleting a bicep file and it's matching json parameter file from our management group structure, the validation steps are failing due to failing to serialize the json of the parameter file.

$templateContent = Get-Content $deletion | ConvertFrom-Json -AsHashtable

Steps to reproduce

  1. Add bicep file and parameter file to management group structure (Example, network.bicep & network.parameters.json)
  2. Merge to main and deploy
  3. Now delete both files

Screenshots

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions