0
0
llucycodes42
The code creates a PostgreSQL role named "example-name" and sets its properties. The name of the role is "example-name", and it has a login property set to true and a password property set to "example-password". The encrypted field is also set to true.
Shortcut: tf_postgresql_role
resource "postgresql_role" "${MyResource}" {
name = "example-name"
login = true
password = "example-password"
encrypted = true
}