You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-74Lines changed: 1 addition & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,79 +3,6 @@ Terraform Provider for PostgreSQL
3
3
4
4
This provider allows to manage with Terraform [Postgresql](https://www.postgresql.org/) objects like databases, extensions, roles, etc..
5
5
6
-
It's published on the [Terraform registry](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs).
7
-
It replaces https://github.com/hashicorp/terraform-provider-postgresql since Hashicorp stopped hosting community providers in favor of the Terraform registry.
6
+
It's an extension of [Terraform registry](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs).
Usage examples can be found in the Terraform [provider documentation](https://www.terraform.io/docs/providers/postgresql/index.html)
38
-
39
-
Developing the Provider
40
-
---------------------------
41
-
42
-
If 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`.
43
-
44
-
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
45
-
46
-
```sh
47
-
$ make build
48
-
...
49
-
$ $GOPATH/bin/terraform-provider-postgresql
50
-
...
51
-
```
52
-
53
-
In order to test the provider, you can simply run `make test`.
54
-
55
-
```sh
56
-
$ make test
57
-
```
58
-
59
-
In order to run the full suite of Acceptance tests, run `make testacc`.
60
-
61
-
*Note:*
62
-
- Acceptance tests create real resources, and often cost money to run.
63
-
64
-
```sh
65
-
$ make testacc
66
-
```
67
-
68
-
In order to manually run some Acceptance test locally, run the following commands:
69
-
```sh
70
-
# spins up a local docker postgres container
71
-
make testacc_setup
72
-
73
-
# Load the needed environment variables for the tests
74
-
source tests/switch_superuser.sh
75
-
76
-
# Run the test(s) that you're working on as often as you want
77
-
TF_LOG=INFO go test -v ./postgresql -run ^TestAccPostgresqlRole_Basic$
78
-
79
-
# cleans the env and tears down the postgres container
0 commit comments