{"id":19508866,"url":"https://github.com/rhythmictech/terraform-azurerm-postgresql","last_synced_at":"2025-07-08T14:05:41.152Z","repository":{"id":51667370,"uuid":"232146480","full_name":"rhythmictech/terraform-azurerm-postgresql","owner":"rhythmictech","description":"Terraform module for Azure managed PostgreSQL Database","archived":false,"fork":false,"pushed_at":"2022-01-12T22:41:54.000Z","size":52,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-26T03:44:02.067Z","etag":null,"topics":["azure","postgresql","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/rhythmictech/postgresql/azurerm","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhythmictech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-01-06T17:02:28.000Z","updated_at":"2022-01-12T22:40:59.000Z","dependencies_parsed_at":"2022-08-23T00:40:22.183Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-azurerm-postgresql","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":"rhythmictech/terraform-azurerm-template","purl":"pkg:github/rhythmictech/terraform-azurerm-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-azurerm-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-azurerm-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-azurerm-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-azurerm-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-azurerm-postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-azurerm-postgresql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264283870,"owners_count":23584623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","postgresql","terraform","terraform-module"],"created_at":"2024-11-10T23:10:08.608Z","updated_at":"2025-07-08T14:05:41.128Z","avatar_url":"https://github.com/rhythmictech.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-azurerm-postgresql\nTerraform module for Azure managed PostgreSQL Database with optional metric alerting\n\n[![tflint](https://github.com/rhythmictech/terraform-azurerm-postgresql/workflows/tflint/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-azurerm-postgresql/actions?query=workflow%3Atflint+event%3Apush+branch%3Amaster)\n[![tfsec](https://github.com/rhythmictech/terraform-azurerm-postgresql/workflows/tfsec/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-azurerm-postgresql/actions?query=workflow%3Atfsec+event%3Apush+branch%3Amaster)\n[![yamllint](https://github.com/rhythmictech/terraform-azurerm-postgresql/workflows/yamllint/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-azurerm-postgresql/actions?query=workflow%3Ayamllint+event%3Apush+branch%3Amaster)\n[![misspell](https://github.com/rhythmictech/terraform-azurerm-postgresql/workflows/misspell/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-azurerm-postgresql/actions?query=workflow%3Amisspell+event%3Apush+branch%3Amaster)\n[![pre-commit-check](https://github.com/rhythmictech/terraform-azurerm-postgresql/workflows/pre-commit-check/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-azurerm-postgresql/actions?query=workflow%3Apre-commit-check+event%3Apush+branch%3Amaster)\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=RhythmicTech\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/RhythmicTech?style=social\u0026logo=twitter\" alt=\"follow on Twitter\"\u003e\u003c/a\u003e\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12.21 |\n| terraform | \u003e= 0.12 |\n| azurerm | \u003e= 1.40 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| azurerm | \u003e= 1.40 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| administrator\\_login | The Administrator Login for the PostgreSQL Server. Changing this forces a new resource to be created. | `string` | n/a | yes |\n| administrator\\_password | The Password associated with the administrator\\_login for the PostgreSQL Server. | `string` | n/a | yes |\n| location | Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. | `string` | n/a | yes |\n| resource\\_group\\_name | The name of the resource group in which to create the PostgreSQL Server. Changing this forces a new resource to be created. | `string` | n/a | yes |\n| server\\_name | Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created. Server name must only contain lowercase letters, numbers, and hyphens. The server name must not start or end in a hyphen. | `string` | n/a | yes |\n| backup\\_retention\\_days | Backup retention days for the server, supported values are between 7 and 35 days. | `number` | `7` | no |\n| dbs | Map of databases to create, values supported: name, charset, collation | `map(map(string))` | `{}` | no |\n| firewall\\_rules | Map of firewall rules to create. Key is rule name, values are start\\_ip, end\\_ip | `map(map(string))` | `{}` | no |\n| geo\\_redundant\\_backup | Enable Geo-redundant or not for server backup. Valid values for this property are Enabled or Disabled, not supported for the basic tier. | `string` | `\"Disabled\"` | no |\n| monitor\\_action\\_group\\_id | ID of Azure Monitor Action Group for metric to trigger | `string` | `\"\"` | no |\n| monitor\\_metric\\_alert\\_criteria | Map of name = criteria objects, see these docs for options\u003cbr\u003ehttps://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported#microsoftdbforpostgresqlservers | \u003cpre\u003emap(object({\u003cbr\u003e    # criteria.*.aggregation to be one of [Average Count Minimum Maximum Total]\u003cbr\u003e    aggregation = string\u003cbr\u003e    metric_name = string\u003cbr\u003e    # criteria.0.operator to be one of [Equals NotEquals GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual]\u003cbr\u003e    operator  = string\u003cbr\u003e    threshold = number\u003cbr\u003e\u003cbr\u003e    dimension = map(object({\u003cbr\u003e      name     = string\u003cbr\u003e      operator = string\u003cbr\u003e      values   = list(string)\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n| postgresql\\_configurations | Map of PostgreSQL configuration settings to create. Key is config name, value is config value | `map(string)` | `{}` | no |\n| server\\_version | Specifies the version of PostgreSQL to use. Valid values are 9.5, 9.6, 10, 10.0, and 11. Changing this forces a new resource to be created. | `string` | `\"11\"` | no |\n| sku\\_name | Specifies the SKU Name for this PostgreSQL Server. The name of the SKU, follows the tier + family + cores pattern (e.g. B\\_Gen4\\_1, GP\\_Gen5\\_8). | `string` | `\"B_Gen4_2\"` | no |\n| ssl\\_enforcement | Specifies if SSL should be enforced on connections. Possible values are Enabled and Disabled. | `string` | `\"Enabled\"` | no |\n| storage\\_autogrow | Enable/Disable auto-growing of the storage. Valid values for this property are Enabled or Disabled. | `string` | `\"Enabled\"` | no |\n| storage\\_mb | Max storage allowed for a server. Possible values are between 5120 MB(5GB) and 1048576 MB(1TB) for the Basic SKU and between 5120 MB(5GB) and 4194304 MB(4TB) for General Purpose/Memory Optimized SKUs. | `number` | `5120` | no |\n| tags | User-Defined tags | `map(string)` | `{}` | no |\n| vnet\\_rules | Map of vnet rules to create. Key is name, value is vnet id | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| administrator\\_login | Admin username |\n| administrator\\_password | Password for admin user |\n| server\\_fqdn | The fully qualified domain name (FQDN) of the PostgreSQL server |\n| server\\_id | The resource id of the PostgreSQL server |\n| server\\_name | The name of the PostgreSQL server |\n\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-azurerm-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-azurerm-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-azurerm-postgresql/lists"}