Skip to content

Commit

Permalink
Update postgresql_extension.html.markdown
Browse files Browse the repository at this point in the history
Add details to import a database extension
  • Loading branch information
tspearconquest authored Aug 22, 2023
1 parent fea83f3 commit 8a0acf0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/r/postgresql_extension.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ resource "postgresql_extension" "my_extension" {
* `database` - (Optional) Which database to create the extension on. Defaults to provider database.
* `drop_cascade` - (Optional) When true, will also drop all the objects that depend on the extension, and in turn all objects that depend on those objects. (Default: false)
* `create_cascade` - (Optional) When true, will also create any extensions that this extension depends on that are not already installed. (Default: false)

## Import

PostgreSQL Extensions can be imported using the database name and the extension's resource name, e.g.

`terraform import postgresql_extension.uuid_ossp example-database.uuid-ossp`

0 comments on commit 8a0acf0

Please sign in to comment.