Azure / Azure/Community-Policy
storage-account-upgrade-gpv1-storage-account-to-gpv2/azurepolicy.json will not "install"
- Dominant language
- Open Policy Agent
- Stars
- 710
- Forks
- 362
- Avg merge
- 10d 20h
- Merged PRs (30d)
- 1
Description
policyDefinitions/Storage/storage-account-upgrade-gpv1-storage-account-to-gpv2/azurepolicy.json
Gives when saved:
The request content was invalid and could not be deserialized: 'Could not find member 'name' on object of type 'PolicyDefinitionProperties'. Path 'properties.name', line 1, position 192.'.
Just from comparing with the video* demo I can see the files are different...eg no properties object.
*https://www.youtube.com/watch?v=iqaNd7dmByI
( video links back to this repo in description)
same with legacy_blob_storage_file
Contributor guide
Research direction
Start with policyDefinitions/Storage/storage-account-upgrade-gpv1-storage-account-to-gpv2/azurepolicy.json and compare its schema with the linked video example. Check the related legacy_blob_storage_file definition as well, then validate both files by saving them as Azure policies without the reported properties.name deserialization error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100