Skip to content

Commit 3fb80ed

Browse files
Add doc for importing publication (#262)
Co-authored-by: Cyril Gaudin <[email protected]>
1 parent fbb747b commit 3fb80ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

website/docs/r/postgresql_publication.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ resource "postgresql_publication" "publication" {
3030
- `drop_cascade` - (Optional) Should all subsequent resources of the publication be dropped. Defaults to 'false'
3131
- `publish_param` - (Optional) Which 'publish' options should be turned on. Default to 'insert','update','delete'
3232
- `publish_via_partition_root_param` - (Optional) Should be option 'publish_via_partition_root' be turned on. Default to 'false'
33+
34+
## Import Example
35+
36+
Publication can be imported using this format:
37+
38+
```
39+
$ terraform import postgresql_publication.publication {{database_name}}.{{publication_name}}
40+
```

0 commit comments

Comments
 (0)