-
Notifications
You must be signed in to change notification settings - Fork 854
Generated Bicep for TableService is missing required 'name' property #10328
Copy link
Copy link
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesazure-storageIssues related to azure storage integrationIssues related to azure storage integration
Milestone
Description
- I have searched the existing issues
Describe the bug
When using the Aspire builder API as follows:
var st = builder.AddAzureStorage("storage");
var table = st.AddTableService();The resulting Bicep file is invalid:
resource storage_tables 'Microsoft.Storage/storageAccounts/tableServices@2024-01-01' = {
parent: storage
}This declaration is missing the required name property. The error:
The specified "resource" declaration is missing the following required properties: "name".
Expected Behavior
The generated Bicep for tableServices includes a valid name property as required by the schema.
Steps To Reproduce
- Use the above code in an Aspire project.
- Run the publish step to generate infrastructure Bicep.
Exceptions (if any)
The specified "resource" declaration is missing the following required properties: "name".
Anything else?
- The bug occurs specifically for TableService resources.
- Likely a bug in Azure.Provisioning.Storage
Reactions are currently unavailable
Metadata
Metadata
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packagesazure-storageIssues related to azure storage integrationIssues related to azure storage integration