Open
Description
Bicep version
bicep --version
Bicep CLI version 0.5.6 (5f2f88f)
Describe the bug
MigrateProject samples on MS's doc site reference "Microsoft.Migrate/migrateProjects/solutions@2020-05-01"
- https://docs.microsoft.com/en-us/azure/templates/microsoft.migrate/2020-05-01/migrateprojects?tabs=bicep
- https://docs.microsoft.com/en-us/azure/migrate/quickstart-create-migrate-project
However, when you use that in a Bicep file it indicates types are not available:
resource migrateProject 'Microsoft.Migrate/migrateProjects@2020-05-01' = {
name: 'NameOfProject'
location: 'centralus'
tags: {
'Migrate Project': 'NameOfProject'
}
properties: {}
}
C:\temp\migrateproject.bicep(12,3) : Warning BCP187: The property "tags" 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. [https://aka.ms/bicep-type-issues]
C:\temp\migrateproject.bicep(16,28) : Warning BCP081: Resource type "Microsoft.Migrate/migrateProjects/solutions@2020-05-01" does not have types available.
In addition, the tags
property is indicated as"
Warning BCP187: The property "tags" does not exist in the resource definition, although it might still be valid.
To Reproduce
Steps to reproduce the behavior:
Simple Bicep file:
resource migrateProject 'Microsoft.Migrate/migrateProjects@2020-05-01' = {
name: 'NameOfProject'
location: 'centralus'
tags: {
'Migrate Project': 'NameOfProject'
}
properties: {}
}
Additional context
Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment