From 1c1cd855eba22487e593d124c5a82845e719a39b Mon Sep 17 00:00:00 2001 From: Guillaume Arnaud Date: Wed, 29 Jan 2025 15:10:35 +0100 Subject: [PATCH] docs: Add import instructions for postgresql_replication_slot resource --- website/docs/r/postgresql_replication_slot.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/r/postgresql_replication_slot.markdown b/website/docs/r/postgresql_replication_slot.markdown index 021be985..25930c97 100644 --- a/website/docs/r/postgresql_replication_slot.markdown +++ b/website/docs/r/postgresql_replication_slot.markdown @@ -26,3 +26,11 @@ resource "postgresql_replication_slot" "my_slot" { * `name` - (Required) The name of the replication slot. * `plugin` - (Required) Sets the output plugin. * `database` - (Optional) Which database to create the replication slot on. Defaults to provider database. + +## Import + +Replication slot can be imported using this format: + +``` +$ terraform import postgresql_replication_slot.my_slot {{database_name}}.{{replication_slot_name}} +```