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

Support for Postgres Version 12 #10455

Closed
Theaxiom opened this issue Feb 3, 2021 · 5 comments
Closed

Support for Postgres Version 12 #10455

Theaxiom opened this issue Feb 3, 2021 · 5 comments
Labels
enhancement sdk/not-yet-supported Support for this does not exist in the upstream SDK at this time sdk/requires-swagger-changes Changes need to be made in the Swagger specifications to enable this functionality sdk/requires-upgrade This is dependent upon upgrading an SDK service/postgresql
Milestone

Comments

@Theaxiom
Copy link

Theaxiom commented Feb 3, 2021

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

Description

There is currently no support for Postgres version 12, I am creating a merge request to add support.

New or Affected Resource(s)

  • azurerm_postgresql_server

Potential Terraform Configuration

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_postgresql_server" "example" {
  name                = "example-psqlserver"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name

  administrator_login          = "psqladminun"
  administrator_login_password = "H@Sh1CoR3!"

  sku_name   = "GP_Gen5_4"
  version    = "12"
  storage_mb = 640000

  backup_retention_days        = 7
  geo_redundant_backup_enabled = true
  auto_grow_enabled            = true

  public_network_access_enabled    = false
  ssl_enforcement_enabled          = true
  ssl_minimal_tls_version_enforced = "TLS1_2"
}

References

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_server#version

  • #0000
@Theaxiom
Copy link
Author

Theaxiom commented Feb 3, 2021

I have submitted a merge request, please merge ASAP! Thank you!

@Theaxiom
Copy link
Author

Theaxiom commented Feb 3, 2021

I just found out version 12 of Postgres is not yet supported in Azure, I am opening a support ticket with them to implement it.

@tombuildsstuff tombuildsstuff added enhancement sdk/not-yet-supported Support for this does not exist in the upstream SDK at this time sdk/requires-swagger-changes Changes need to be made in the Swagger specifications to enable this functionality sdk/requires-upgrade This is dependent upon upgrading an SDK service/postgresql labels Feb 4, 2021
@tombuildsstuff tombuildsstuff added this to the Blocked milestone Feb 4, 2021
@Theaxiom
Copy link
Author

FYI: We opened a ticket with Microsoft Azure, apparently there is a new product which is in preview, called Flexible Server. Support for Terraform is coming in March/April and we are to proceed with this solution. It seems that version 12 of PostgreSQL is unlikely to be supported by Azure in the future, unless using Flexible Server.

@ghost
Copy link

ghost commented Apr 30, 2021

This has been released in version 2.57.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.57.0"
}
# ... other configuration ...

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement sdk/not-yet-supported Support for this does not exist in the upstream SDK at this time sdk/requires-swagger-changes Changes need to be made in the Swagger specifications to enable this functionality sdk/requires-upgrade This is dependent upon upgrading an SDK service/postgresql
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants