{"id":13644648,"url":"https://github.com/cyrilgdn/terraform-provider-postgresql","last_synced_at":"2025-10-21T19:10:05.827Z","repository":{"id":37096730,"uuid":"167666671","full_name":"cyrilgdn/terraform-provider-postgresql","owner":"cyrilgdn","description":"Terraform PostgreSQL provider","archived":false,"fork":false,"pushed_at":"2024-12-29T18:25:00.000Z","size":9855,"stargazers_count":398,"open_issues_count":169,"forks_count":212,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-12-29T19:24:33.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.terraform.io/docs/providers/postgresql/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyrilgdn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-26T08:26:24.000Z","updated_at":"2024-12-29T18:25:02.000Z","dependencies_parsed_at":"2023-02-10T00:00:40.309Z","dependency_job_id":"c5167ad7-310a-4f8b-b83f-2581bb35fd15","html_url":"https://github.com/cyrilgdn/terraform-provider-postgresql","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilgdn%2Fterraform-provider-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilgdn%2Fterraform-provider-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilgdn%2Fterraform-provider-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilgdn%2Fterraform-provider-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyrilgdn","download_url":"https://codeload.github.com/cyrilgdn/terraform-provider-postgresql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250040580,"owners_count":21365134,"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":[],"created_at":"2024-08-02T01:02:10.100Z","updated_at":"2025-10-21T19:10:05.820Z","avatar_url":"https://github.com/cyrilgdn.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Terraform Provider for PostgreSQL\n=================================\n\nThis provider allows to manage with Terraform [Postgresql](https://www.postgresql.org/) objects like databases, extensions, roles, etc.\n\nIt's published on the [Terraform registry](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs).\nIt replaces https://github.com/hashicorp/terraform-provider-postgresql since Hashicorp stopped hosting community providers in favor of the Terraform registry.\n\n- Documentation: https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs\n\nRequirements\n------------\n\n-\t[Terraform](https://www.terraform.io/downloads.html) 0.12.x\n-\t[Go](https://golang.org/doc/install) 1.16 (to build the provider plugin)\n\nBuilding The Provider\n---------------------\n\nClone repository to: `$GOPATH/src/github.com/cyrilgdn/terraform-provider-postgresql`\n\n```sh\n$ mkdir -p $GOPATH/src/github.com/cyrilgdn; cd $GOPATH/src/github.com/cyrilgdn\n$ git clone git@github.com:cyrilgdn/terraform-provider-postgresql\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/cyrilgdn/terraform-provider-postgresql\n$ make build\n```\n\nUsing the provider\n----------------------\n\nUsage examples can be found in the Terraform [provider documentation](https://www.terraform.io/docs/providers/postgresql/index.html)\n\nDeveloping the Provider\n---------------------------\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.11+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.\n\nTo compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\n```sh\n$ make build\n...\n$ $GOPATH/bin/terraform-provider-postgresql\n...\n```\n\nIn order to test the provider, you can simply run `make test`.\n\n```sh\n$ make test\n```\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n*Note:* \n- Acceptance tests create real resources, and often cost money to run.\n\n```sh\n$ make testacc\n```\n\nIn order to manually run some Acceptance test locally, run the following commands:\n```sh\n# spins up a local docker postgres container\nmake testacc_setup \n\n# Load the needed environment variables for the tests\nsource tests/switch_superuser.sh\n\n# Run the test(s) that you're working on as often as you want\nTF_LOG=INFO go test -v ./postgresql -run ^TestAccPostgresqlRole_Basic$\n\n# cleans the env and tears down the postgres container\nmake testacc_cleanup \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrilgdn%2Fterraform-provider-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyrilgdn%2Fterraform-provider-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrilgdn%2Fterraform-provider-postgresql/lists"}