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

Error making Read request on Azure PostgreSQL Configuration backslash_quote #10855

Closed
dkirrane opened this issue Mar 5, 2021 · 3 comments
Closed

Comments

@dkirrane
Copy link

dkirrane commented Mar 5, 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

Terraform (and AzureRM Provider) Version

$ terraform -v
Terraform v0.13.5

  • provider registry.terraform.io/aiven/aiven v2.1.6
  • provider registry.terraform.io/hashicorp/azuread v1.4.0
  • provider registry.terraform.io/hashicorp/azurerm v2.49.0
  • provider registry.terraform.io/hashicorp/random v3.0.0
  • provider registry.terraform.io/hashicorp/time v0.7.0

Affected Resource(s)

  • azurerm v2.49.0

Terraform Configuration Files

Its a postgres module with

resource "azurerm_resource_group" "example" {
  name     = "api-rg-pro"
  location = "West Europe"
}

resource "azurerm_postgresql_server" "example" {
  name                = "postgresql-server-1"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name

  sku_name = "B_Gen5_2"

  storage_mb                   = 5120
  backup_retention_days        = 7
  geo_redundant_backup_enabled = false
  auto_grow_enabled            = true

  administrator_login          = "psqladminun"
  administrator_login_password = "H@Sh1CoR3!"
  version                      = "9.5"
  ssl_enforcement_enabled      = true
}

resource "azurerm_postgresql_database" "example" {
  name                = "exampledb"
  resource_group_name = azurerm_resource_group.example.name
  server_name         = azurerm_postgresql_server.example.name
  charset             = "UTF8"
  collation           = "English_United States.1252"
}

resource "azurerm_postgresql_configuration" "example" {
  name                = "backslash_quote"
  resource_group_name = azurerm_resource_group.example.name
  server_name         = azurerm_postgresql_server.example.name
  value               = "on"
}

Debug Output

Panic Output

Expected Behaviour

No failure.

Actual Behaviour

Error: Error making Read request on Azure PostgreSQL Configuration backslash_quote: postgresql.ConfigurationsClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="ResourceNotFound" Message="The requested resource does not exist"

Steps to Reproduce

Plan run on Terraform Cloud.

Important Factoids

References

  • #0000
@aristosvo
Copy link
Collaborator

I believe this one is fixed here

@WodansSon should we add this to the release notes as well?

@katbyte
Copy link
Collaborator

katbyte commented Jun 24, 2021

@dkirrane - looks like this has been fixed so i'm going to close it, do reopen an issue if its still a problem!

@katbyte katbyte closed this as completed Jun 24, 2021
@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 Jul 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants