postgresql_extension

The postgresql_extension resource creates and manages an extension on a PostgreSQL server.

Usage

resource "postgresql_extension" "my_extension" {
  name = "pg_trgm"
}

Argument Reference

  • 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 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/postgresql/r/postgresql_extension.html