basicPublishingCredentialsPolicies@2021-02-01 Propter location does not exist
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
**Bicep version**
Bicep CLI version 0.4.1124 (66c84c8ee5)
**Describe the bug**
Resource resource sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_ftp 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-02-01'
gives a warning
**The property "location" does not exist in the resource definition, although it might still be valid. If this is an inaccuracy in the documentation, please report it to the Bicep Team.bicephttps://aka.ms/bicep-type-issues**
but it seems to be required.
**To Reproduce**
The following is the Bicep code
```bicep
resource sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_ftp 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-02-01' = {
parent: sites_func_entCamera_CaptureApp_RestApi_devIac_c1_01_name_resource
name: 'ftp'
location: 'Central US' // needs location else error - warning is wrong.
properties: {
allow: true
}
}
```
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Start with the Bicep type definition and validation for Microsoft.Web/sites/basicPublishingCredentialsPolicies@2021-02-01, using the resource example in the issue to reproduce the warning. Confirm whether location is required by deployment and whether the diagnostic incorrectly rejects it; done means the warning accurately reflects the resource schema.
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
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100