The postgresql_extension resource creates and manages an extension on a PostgreSQL server.
resource "postgresql_extension" "my_extension" {
name = "pg_trgm"
}
name - (Required) The name of the extension. schema - (Optional) Sets the schema of an extension. version - (Optional) Sets the version number of the extension.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/postgresql/r/postgresql_extension.html