Azure / Azure/bicep

Recreation of resources with changes to read only properties.

Open
#9,964 1 comment 2 reactions 0 assignees View on GitHub
enhancement Needs: Upvote provider improvement
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
With terraform, if I change a storage account to have HSN enabled (a read only property), and apply, terraform will destroy the storage account and recreate it with HSN enabled, with bicep I have to do the same manually. Given how slow Bicep is compared to terraform already this is incredibly frustrating as I have to apply a couple of times at least for this to work.

**Describe the solution you'd like**
It would be great if Bicep could do this recreation in one run, i.e. destroy the storage account and recreate it.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the described Bicep deployment for an Azure storage account, changing HSN from disabled to enabled and observing the required apply sequence. Compare the behavior with Terraform's recreation flow; done means Bicep destroys and recreates the resource with the read-only property in one run.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.