Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azurerm_postgresql_flexible_server] Support for In Preview Storage Type: Premium SSD V2 #24294

Open
1 task done
defaultMode0644 opened this issue Dec 20, 2023 · 2 comments
Open
1 task done

Comments

@defaultMode0644
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

Hello,
there is a feature In Preview for Premium SSD V2 storage disks which is cheaper and flexible for tuning. It would be great to have azurerm_postgresql_flexible_server resource parameters for configuring such as disk type, IOPS and throughput besides disk size.
Screenshot 2023-12-20 at 14 32 06

New or Affected Resource(s)/Data Source(s)

azurerm_postgresql_flexible_server

Potential Terraform Configuration

resource "azurerm_postgresql_flexible_server" "example" {
  name                   = "example-psqlflexibleserver"
  resource_group_name    = azurerm_resource_group.example.name
  location               = azurerm_resource_group.example.location
  version                = "12"
  delegated_subnet_id    = azurerm_subnet.example.id
  private_dns_zone_id    = azurerm_private_dns_zone.example.id
  administrator_login    = "psqladmin"
  administrator_password = "H@Sh1CoR3!"
  zone                   = "1"

  storage_mb = 32768
  storage_type = "PremiumV2"
  storage_iops = 3000
  storage_throughput = 125

  sku_name   = "GP_Standard_D4s_v3"
  depends_on = [azurerm_private_dns_zone_virtual_network_link.example]
}

References

@jonasmock
Copy link

Any updates? I'm not sure if its still in preview but I would like to configure this as well in Terraform.

@hmasum52
Copy link

any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants