We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bicep version Bicep CLI version 0.2.328 (a13b032)
Describe the bug A string value could be determined at build-time to avoid the warning.
To Reproduce
var redis_size = 'C2' resource redis 'Microsoft.Cache/Redis@2019-07-01' = { name: 'redis' location: 'westus' properties: { sku: { name: 'Standard' family: first(redis_size) capacity: int(last(redis_size)) } } }
Building the file above yields a warning:
Warning BCP036: The property "family" expected a value of type "'C' | 'P'" but the provided value is of type "string".
Possibly related to #795
The text was updated successfully, but these errors were encountered:
Closing as dup of #444
Sorry, something went wrong.
No branches or pull requests
Bicep version
Bicep CLI version 0.2.328 (a13b032)
Describe the bug
A string value could be determined at build-time to avoid the warning.
To Reproduce
Building the file above yields a warning:
Possibly related to #795
The text was updated successfully, but these errors were encountered: