{"id":15175880,"url":"https://github.com/hashicorp/terraform-provider-postgresql","last_synced_at":"2025-10-01T14:31:11.583Z","repository":{"id":47589113,"uuid":"93446074","full_name":"hashicorp/terraform-provider-postgresql","owner":"hashicorp","description":"As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to active maintainers in the community. Please see the new location on the Terraform Registry: https://registry.terraform.io/providers/cyrilgdn/postgresql","archived":true,"fork":false,"pushed_at":"2020-12-14T18:45:11.000Z","size":7513,"stargazers_count":103,"open_issues_count":57,"forks_count":79,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-01-08T13:07:39.761Z","etag":null,"topics":["postgresql","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://github.com/cyrilgdn/terraform-provider-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/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-05T20:54:02.000Z","updated_at":"2024-10-03T05:13:20.000Z","dependencies_parsed_at":"2022-09-01T23:51:56.875Z","dependency_job_id":null,"html_url":"https://github.com/hashicorp/terraform-provider-postgresql","commit_stats":null,"previous_names":["terraform-providers/terraform-provider-postgresql"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fterraform-provider-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/terraform-provider-postgresql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234878291,"owners_count":18900676,"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":["postgresql","terraform","terraform-provider"],"created_at":"2024-09-27T12:43:29.634Z","updated_at":"2025-10-01T14:31:03.435Z","avatar_url":"https://github.com/hashicorp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform Provider\n==================\n\n- Website: https://www.terraform.io\n- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)\n- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)\n\n\u003cimg src=\"https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg\" width=\"600px\"\u003e\n\nRequirements\n------------\n\n-\t[Terraform](https://www.terraform.io/downloads.html) 0.10.x\n-\t[Go](https://golang.org/doc/install) 1.11 (to build the provider plugin)\n\nBuilding The Provider\n---------------------\n\nClone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-postgresql`\n\n```sh\n$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers\n$ git clone git@github.com:terraform-providers/terraform-provider-postgresql\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/terraform-providers/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- If ran locally `docker-compose` needs to be in the `$PATH`\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/env.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%2Fhashicorp%2Fterraform-provider-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fterraform-provider-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fterraform-provider-postgresql/lists"}