Skip to content

Azure PostgreSQL Flexible Server creation needs to set max_connections in addition to max_prepared_transactions #429

@AWSmith0216

Description

@AWSmith0216

Terraform Version Details

1.10.5

Terraform Variable File Details

Not relevant

Steps to Reproduce

Create a PostgreSQL flexible server. Using the most basic input is sufficient:

postgres_servers = {
  default = {},
}

Expected Behavior

That the server parameters include the SAS documented requirements of max_connections and max_prepared_transactions both set to at least 1024. Refer to documentation:

https://helpcenter.unx.sas.com/test/doc/en/itopscdc/v_061/itopssr/p05lfgkwib3zxbn1t6nyihexp12n.htm#p1wq8ouke3c6ixn1la636df9oa1u

Actual Behavior

Only max_prepared_transactions is set, not max_connections. This is because the following portions of locals.tf only specifies max_prepared_transactions:

default_postgres_configuration = [{ name : "max_prepared_transactions", value : 1024 }]

Additional Context

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewAdded to an issue when it's new ;)staleOpen for 30 days with no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions