Open stijnherreman opened 3 weeks ago
Microsoft.Sql/servers/databases
2023-08-01-preview
Other
When using what-if for the initial creation, properties.elasticPoolId is missing.
what-if
properties.elasticPoolId
+ Microsoft.Sql/servers/.../databases/foo [2023-08-01-preview] apiVersion: "2023-08-01-preview" id: "/subscriptions/.../resourceGroups/.../providers/Microsoft.Sql/servers/.../databases/foo" location: "westeurope" name: "foo" type: "Microsoft.Sql/servers/databases"
When using what-if for subsequent updates, properties.elasticPoolId is marked as Noeffect.
= Microsoft.Sql/servers/.../databases/foo [2023-08-01-preview] x properties.elasticPoolId: "/subscriptions/.../resourceGroups/.../providers/Microsoft.Sql/servers/.../elasticPools/..."
resource database 'Microsoft.Sql/servers/databases@2023-08-01-preview' = { name: 'foo' parent: sqlServer location: defaultLocation properties: { elasticPoolId: elasticPool.id } }
Resource Type
Microsoft.Sql/servers/databases
Api Version
2023-08-01-preview
Issue Type
Other
Other Notes
When using
what-if
for the initial creation,properties.elasticPoolId
is missing.When using
what-if
for subsequent updates,properties.elasticPoolId
is marked as Noeffect.Bicep Repro
Confirm