Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 32cd1c8

Browse files
authored
Merge pull request #100 from pacesetterplus/master
Add redshift_schema import statement to README
2 parents fc3d77e + 354831c commit 32cd1c8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/resources/schema.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,12 @@ Optional:
272272

273273
- **schema** (String) The name of the datashare schema. The default schema is 'public'.
274274

275+
## Import
275276

277+
Import is supported using the following syntax:
278+
279+
```shell
280+
# Import schema with oid: SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'myschema';
281+
282+
terraform import redshift_schema.myschema 234
283+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Import schema with oid: SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'myschema';
2+
3+
terraform import redshift_schema.myschema 234

0 commit comments

Comments
 (0)