{"id":22448208,"url":"https://github.com/ridwanbejo/terraform-postgresql-admin","last_synced_at":"2026-05-07T11:34:33.619Z","repository":{"id":214148393,"uuid":"735803514","full_name":"ridwanbejo/terraform-postgresql-admin","owner":"ridwanbejo","description":"Terraform module for managing PostgreSQL role, database, schema, grant, extension and many more","archived":false,"fork":false,"pushed_at":"2023-12-26T07:09:41.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-02T08:27:12.538Z","etag":null,"topics":["automation","database","devops","hcl","iac","infrastructure-as-code","postgresql","sysadmin","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ridwanbejo.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-26T06:00:38.000Z","updated_at":"2024-01-08T02:04:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"1978011a-7c93-45c3-9dcb-04279dbdd488","html_url":"https://github.com/ridwanbejo/terraform-postgresql-admin","commit_stats":null,"previous_names":["ridwanbejo/terraform-postgresql-admin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ridwanbejo/terraform-postgresql-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-postgresql-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-postgresql-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-postgresql-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-postgresql-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ridwanbejo","download_url":"https://codeload.github.com/ridwanbejo/terraform-postgresql-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-postgresql-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","database","devops","hcl","iac","infrastructure-as-code","postgresql","sysadmin","terraform","terraform-modules"],"created_at":"2024-12-06T04:21:51.264Z","updated_at":"2026-05-07T11:34:33.614Z","avatar_url":"https://github.com/ridwanbejo.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform PostgreSQL Admin\n\nThis is a Terraform module for managing objects at PostgreSQL. You can use this module both for commercial or non-commercial purposes.\n\nCurrently, you can manage these resources in PostgreSQL by using this module:\n\n- role\n- database\n- schema\n- grant\n- extension\n- physical_replication_slot\n\nTested in:\n\n- PostgreSQL\n\n## A. Prerequisites\n\nRequirements:\n\n- Terraform with version \u003e= 1.4\n- Cyrilgdn/postgresql\n- Hashicorp/random\n\n## B. How to use this module for your Terraform project ?\n\nYou can check any examples projects that use this module under `examples` directory.\n\n- config-1-basic\n- role-1-basic\n- database-1-basic\n- grant-1-basic\n\n\u003e p.s.: If you see foreign data wrapper and pubsub modules, basically it's executable. But when I run the example it's still showing `No changes infrastructure`. I keep the modules until I've found the workaround.\n\n## C. Understanding tfvars scenarios\n\nYou can check any examples tfvars that use this module under `examples` directory.\n\n- config-1-basic\n- role-1-basic\n- database-1-basic\n- grant-1-basic\n\n## D. Ensuring quality\n\nI am trying to follow these approaches for ensuring quality of the tf-module:\n\n- **validate**, ensure my Terraform module is in correct configuration based on Terraform guideline\n- **auto-format**, ensure my Terraform script is edited with correct format based on Terraform guideline\n- **linter**, ensure my Terraform script is in correct format based on Terraform guideline\n- **security**, ensure my Terraform module is free from CVE and stay compliance\n- **automation**, run all above steps by using automation tool to improve development time and keep best quality before or after merging to Git repository\n\n\nThe tools:\n\n- [terraform validate](https://developer.hashicorp.com/terraform/cli/commands)\n- [terraform fmt](https://developer.hashicorp.com/terraform/cli/commands)\n- [tflint](https://github.com/terraform-lint48ers/tflint)\n- [tfsec](https://github.com/aquasecurity/tfsec)\n- [Pre-commit](https://pre-commit.com/)\n- Github Action [Setup Terraform pipeline](https://github.com/hashicorp/setup-terraform)\n\n## E. How to contribute ?\n\nIf you find any issue, you can raise it here at our [Issue Tracker](https://github.com/ridwanbejo/terraform-postgresql-admin/issues)\n\nIf you have something that you want to merge to this repo, just raise [Pull Requests](https://github.com/ridwanbejo/terraform-postgresql-admin/pulls)\n\nEnsure that you install all the tools from section D. for development purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanbejo%2Fterraform-postgresql-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridwanbejo%2Fterraform-postgresql-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanbejo%2Fterraform-postgresql-admin/lists"}