We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b77805 commit ac9f93cCopy full SHA for ac9f93c
examples/complete/providers.tf
@@ -6,6 +6,6 @@ provider "postgresql" {
6
username = var.db_username
7
port = var.db_port
8
password = var.db_password
9
- superuser = false
10
- sslmode = "disable"
+ superuser = var.db_superuser
+ sslmode = var.db_sslmode
11
}
examples/complete/variables.tf
@@ -25,6 +25,16 @@ variable "db_scheme" {
25
description = "The scheme of the database instance."
26
27
28
+variable "db_superuser" {
29
+ type = bool
30
+ description = "Whether the database instance is a superuser."
31
+}
32
+
33
+variable "db_sslmode" {
34
+ type = string
35
+ description = "The SSL mode of the database instance."
36
37
38
variable "databases" {
39
type = list(object({
40
name = string
0 commit comments