Azure / Azure/azure-rest-api-specs
Storage: Allow to create storage management policy with no rule
Nobody has claimed this yet.
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 432
Description
Currently, the storage management policy resource is required to be created with at least one rule. However, there are customers want to manage rules seprately by updating the policy resource.
One such ask can be found at https://github.com/hashicorp/terraform-provider-azurerm/issues/6935, where users want to create an empty storage management policy and then manage storage management policy rules externally. The fact that a storage management policy has to be created with at least one rule inline makes it hard to use it correctly by users, see the comment here: https://github.com/hashicorp/terraform-provider-azurerm/pull/19383#issuecomment-1326695657.
This issue asks the service team to allow creating a storage management policy with no rule specified.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the storage management policy definition in specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/storage.json, especially the referenced resource schema. Review the linked Terraform issue and pull request for the expected empty-policy behavior. Done means the service contract permits creating a policy with no rules while preserving separate rule management.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100