Skip to content

Commit

Permalink
fix import test
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Apr 21, 2020
1 parent 2911d2f commit a691fd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Expand Up @@ -440,6 +440,11 @@ func resourceArmPostgreSQLServerCreate(d *schema.ResourceData, meta interface{})

d.SetId(*read.ID)

update := postgresql.ServerUpdateParameters{
ServerUpdateParametersProperties: &postgresql.ServerUpdateParametersProperties{
ReplicationRole: "Prima",
}
}
return resourceArmPostgreSQLServerRead(d, meta)
}

Expand Down
Expand Up @@ -500,7 +500,7 @@ resource "azurerm_postgresql_server" "import" {
sku_name = azurerm_postgresql_server.test.sku_name
version = azurerm_postgresql_server.test.version
storage_mb = azurerm_postgresql_server.test.storage_profile.storage_mb
storage_mb = azurerm_postgresql_server.test.storage_mb
ssl_enforcement_enabled = azurerm_postgresql_server.test.ssl_enforcement_enabled
}
Expand Down

0 comments on commit a691fd3

Please sign in to comment.