From 7a8b1efc79ea0baae8141b362eeeea54bae58e20 Mon Sep 17 00:00:00 2001 From: tspearconquest <81998567+tspearconquest@users.noreply.github.com> Date: Sat, 9 Sep 2023 08:42:20 -0500 Subject: [PATCH] Update postgresql_extension.html.markdown (#337) Add details to import a database extension --- website/docs/r/postgresql_extension.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/docs/r/postgresql_extension.html.markdown b/website/docs/r/postgresql_extension.html.markdown index b3f9c7ce..bdb8b079 100644 --- a/website/docs/r/postgresql_extension.html.markdown +++ b/website/docs/r/postgresql_extension.html.markdown @@ -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`