From d5f2908dff77a2325a8c14339c5d05db10ed8cc2 Mon Sep 17 00:00:00 2001 From: sinbai Date: Wed, 18 Dec 2024 18:24:12 +0800 Subject: [PATCH] add comment --- internal/services/mssql/mssql_database_resource.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/services/mssql/mssql_database_resource.go b/internal/services/mssql/mssql_database_resource.go index 88f8b572485b..bdbd1fb1514a 100644 --- a/internal/services/mssql/mssql_database_resource.go +++ b/internal/services/mssql/mssql_database_resource.go @@ -1190,6 +1190,7 @@ func resourceMsSqlDatabaseRead(d *pluginsdk.ResourceData, meta interface{}) erro d.Set("license_type", d.Get("license_type").(string)) } + // Get it from config as the API returns not the specified value but the maximum value. d.Set("max_size_gb", d.Get("max_size_gb").(float64)) if props.CurrentServiceObjectiveName != nil {