From 5812e8c831017b6815a63eebfa91899d1f8f19a9 Mon Sep 17 00:00:00 2001 From: elena Date: Fri, 2 Sep 2022 14:20:56 +0800 Subject: [PATCH] fix acctests failure --- 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 3a819b028194..ea45c3eaf325 100644 --- a/internal/services/mssql/mssql_database_resource.go +++ b/internal/services/mssql/mssql_database_resource.go @@ -774,6 +774,7 @@ func resourceMsSqlDatabaseSchema() map[string]*pluginsdk.Schema { "license_type": { Type: pluginsdk.TypeString, Optional: true, + Computed: true, ValidateFunc: validation.StringInSlice([]string{ string(sql.DatabaseLicenseTypeBasePrice), string(sql.DatabaseLicenseTypeLicenseIncluded),