Skip to content

Commit

Permalink
Merge pull request #2447 from terraform-providers/e-postgresql-sku
Browse files Browse the repository at this point in the history
Added new skus to postgreSQL
  • Loading branch information
katbyte authored Dec 5, 2018
2 parents 10c8106 + 8f1c709 commit 79e54fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azurerm/resource_arm_postgresql_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ func resourceArmPostgreSQLServer() *schema.Resource {
"GP_Gen5_8",
"GP_Gen5_16",
"GP_Gen5_32",
"GP_Gen5_64",
"MO_Gen5_2",
"MO_Gen5_4",
"MO_Gen5_8",
"MO_Gen5_16",
"MO_Gen5_32",
}, true),
DiffSuppressFunc: suppress.CaseDifference,
},
Expand All @@ -78,6 +80,7 @@ func resourceArmPostgreSQLServer() *schema.Resource {
8,
16,
32,
64,
}),
},

Expand Down Expand Up @@ -232,8 +235,7 @@ func resourceArmPostgreSQLServerCreate(d *schema.ResourceData, meta interface{})
return fmt.Errorf("Error creating PostgreSQL Server %q (Resource Group %q): %+v", name, resourceGroup, err)
}

err = future.WaitForCompletionRef(ctx, client.Client)
if err != nil {
if err = future.WaitForCompletionRef(ctx, client.Client); err != nil {
return fmt.Errorf("Error waiting for creation of PostgreSQL Server %q (Resource Group %q): %+v", name, resourceGroup, err)
}

Expand Down

0 comments on commit 79e54fc

Please sign in to comment.