Skip to content

Commit

Permalink
Merge pull request hashicorp#23276 from sinbai/mssql/fix_acc_test_fai…
Browse files Browse the repository at this point in the history
…lure

`azurerm_mssql_database_extended_auditing_policy` : fix acc test failure
  • Loading branch information
tombuildsstuff authored Sep 15, 2023
2 parents fc70de5 + e75cf8f commit 9636cfd
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,20 @@ resource "azurerm_mssql_database" "test" {
server_id = azurerm_mssql_server.test.id
}
resource "azurerm_storage_account" "test" {
name = "unlikely23exst2acct%[3]s"
resource_group_name = azurerm_resource_group.test.name
location = azurerm_resource_group.test.location
account_tier = "Standard"
account_replication_type = "LRS"
}
resource "azurerm_mssql_database_extended_auditing_policy" "test" {
database_id = azurerm_mssql_database.test.id
enabled = false
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomString)
`, data.RandomInteger, data.Locations.Primary, data.RandomString)
}

func (r MsSqlDatabaseExtendedAuditingPolicyResource) update(data acceptance.TestData) string {
Expand Down

0 comments on commit 9636cfd

Please sign in to comment.