Azure / Azure/bicep-types-az

[Microsoft.KeyVault/vaults/accessPolicies]: does not have types available

Open
#2,224 0 comments 0 reactions 0 assignees View on GitHub
inaccuracy
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.KeyVault/vaults/accessPolicies

### Api Version

2023-07-01

### Issue Type

Type is unavailable

### Other Notes

Deploying the bicep code below gives a:
Warning BCP081: Resource type "Microsoft.KeyVault/vaults/accessPolicies@2023-07-01" does not have types available.

### Bicep Repro

```
resource accessPoliciesForSystemAssignedIdentity 'Microsoft.KeyVault/vaults/accessPolicies@2023-07-01' = {
name: 'add'
parent: domainCertificateKeyvault
properties: {
accessPolicies: [
{
objectId: apimgmtPrincipleId
permissions: {
secrets: [
'list', 'get'
]
}
tenantId: 'xx-xx-xx...'
}
]
}
}
```

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning with the provided Bicep resource and API version, then locate the type definitions or generation inputs for Microsoft.KeyVault/vaults/accessPolicies. Check how nearby API versions are represented and verify that the supplied deployment no longer reports BCP081 when the type is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.