2016-10-04 12:05:51 +02:00
|
|
|
---
|
|
|
|
layout: "postgresql"
|
|
|
|
page_title: "PostgreSQL: postgresql_extension"
|
|
|
|
sidebar_current: "docs-postgresql-resource-postgresql_extension"
|
|
|
|
description: |-
|
|
|
|
Creates and manages an extension on a PostgreSQL server.
|
|
|
|
---
|
|
|
|
|
2016-11-10 12:54:56 +01:00
|
|
|
# postgresql\_extension
|
2016-10-04 12:05:51 +02:00
|
|
|
|
2016-11-10 12:54:56 +01:00
|
|
|
The ``postgresql_extension`` resource creates and manages an extension on a PostgreSQL
|
2016-10-04 12:05:51 +02:00
|
|
|
server.
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
2016-11-10 12:54:56 +01:00
|
|
|
resource "postgresql_extension" "my_extension" {
|
2016-10-04 12:05:51 +02:00
|
|
|
name = "pg_trgm"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
2016-11-10 12:54:56 +01:00
|
|
|
* `name` - (Required) The name of the extension.
|