terraform-provider-postgresql
terraform-provider-postgresql copied to clipboard
Terraform PostgreSQL provider
I noticed there are no data sources for the provider. Something like this seems useful: ```hcl data "postgresql_database" "my_db" { name = "my_db" } resource "postgresql_grant" "my_grant" { database =...
# Issues Resolves: https://github.com/cyrilgdn/terraform-provider-postgresql/issues/81 ## Native Go jumphost (ssh port forwarding) support * [x] New configuration params * `jumphost` - jumphost configuration block * `host` / `$JUMPHOST` jumphost hostname *...
Trying this TF Provider for a personal use case came across the issue that I couldn't select which IP address I wanted to connect via the default behaviour of the...
This PR contains an alternative approach for adding Azure Active Directory authentication support for issue #37. @younux also opened a PR (#52) so we'll have to decide on an approach....
If the `owner` field was left empty in the `postgresql_database` resource the _username_ used to connect was used. This is not entirely correct however, the username can be different than...
Hi there, ### Terraform Version Terraform v1.1.8 on linux_amd64 + provider registry.terraform.io/cyrilgdn/postgresql v1.15.0 ### Affected Resource(s) - postgresql_role ### Terraform Configuration Files ``` resource "postgresql_role" "gaas_oper" { name = "gaas_oper"...
Hello, If I understand this code correctly, the case where the privileges are the default ones (represented by an empty `datacl` column in the `pg_database`) is not handled. https://github.com/cyrilgdn/terraform-provider-postgresql/blob/ec7110229606a3c2b175714ea94f780728973f4d/postgresql/resource_postgresql_grant.go#L221-L238 The...
Hi It will be good if postgresql_grant resource will allow ALL in addition to others like privileges - (Required) The list of privileges to grant. There are different kinds of...
I can't find anything in the docs about this. Postgres cloud sql supports IAM for authentication with users and service accounts: https://cloud.google.com/sql/docs/postgres/iam-logins looks like gcppostgres demands a password? right now...
I was originally going to submit an issue requesting support for authenticating to Postgres using environment variables, but I found [this comment](https://github.com/cyrilgdn/terraform-provider-postgresql/issues/8#issuecomment-753362259) in a related issue that says this _is_...