Skip to content

Commit 7b88382

Browse files
committed
update readme
update acc test instructions, update publisher ref
1 parent 8cd158f commit 7b88382

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This provider allows to manage with Terraform [AWS Redshift](https://aws.amazon.com/redshift/) objects like users, groups, schemas, etc...
44

5-
It's published on the [Terraform registry](https://registry.terraform.io/providers/dbsystel/redshift/latest/docs).
5+
It's published on the [OpenTofu Registry](https://search.opentofu.org/provider/dbsystel/redshift/latest).
66

77
## Requirements
88

@@ -59,10 +59,25 @@ Terraform](https://www.terraform.io/docs/extend/index.html) docs.
5959
Acceptance tests require a running real AWS Redshift cluster.
6060

6161
```sh
62+
TF_ACC=1
63+
TF_ACC_PROVIDER_HOST=registry.opentofu.org
64+
TF_ACC_PROVIDER_NAMESPACE=hashicorp
65+
TF_ACC_TERRAFORM_PATH=<path to tofu binary>
66+
REDSHIFT_DATABASE=redshift
67+
REDSHIFT_ROOT_USERNAME=someotherroot
68+
69+
# user + password setup
6270
REDSHIFT_HOST=<cluster ip or DNS>
6371
REDSHIFT_USER=root
64-
REDSHIFT_DATABASE=redshift
6572
REDSHIFT_PASSWORD=<password>
73+
74+
# Redshift Data API setup
75+
AWS_REGION=eu-central-1
76+
REDSHIFT_DATA_API_SERVERLESS_WORKGROUP_NAME=some-workgroup
77+
REDSHIFT_TEST_ACC_DEBUG_REDSHIFT_DATA=true
78+
# optional, if the instance is not reachable through TCP/IP using the REDSHIFT_HOST env var
79+
REDSHIFT_TEST_ACC_SKIP_USER_LOGIN=true
80+
6681
make testacc
6782
```
6883

0 commit comments

Comments
 (0)