Skip to content

Commit

Permalink
Update redshift.md for the redshift destination (airbytehq#23576)
Browse files Browse the repository at this point in the history
Add documentation about setting up the database user permission.
  • Loading branch information
Auric-Manteo authored and danielduckworth committed Mar 13, 2023
1 parent 2697262 commit f17e0c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/integrations/destinations/redshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ Optional parameters:
3. [Create](https://docs.aws.amazon.com/ses/latest/dg/event-publishing-redshift-cluster.html) and activate AWS Redshift cluster if you don't have one ready
4. (Optional) [Allow](https://aws.amazon.com/premiumsupport/knowledge-center/cannot-connect-redshift-cluster/) connections from Airbyte to your Redshift cluster \(if they exist in separate VPCs\)
5. (Optional) [Create](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html) a staging S3 bucket \(for the COPY strategy\).
6. Create a user with at least create table permissions for the schema. If the schema does not exist you need to add permissions for that, too. Something like this:
```
GRANT CREATE ON DATABASE database_name TO airflow_user; -- add create schema permission
GRANT usage, create on schema my_schema TO airflow_user; -- add create table permission
```

## Step 2: Set up the destination connector in Airbyte

Expand Down

0 comments on commit f17e0c4

Please sign in to comment.