From 0892a9789689d0bf61681caa1878b3150b4becd4 Mon Sep 17 00:00:00 2001 From: Ricardo Rey Diez Date: Wed, 7 Aug 2024 12:40:42 -0600 Subject: [PATCH] Add documentation --- docs/resources/repository.md | 11 +++++++++++ docs/resources/repository_user_account.md | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/docs/resources/repository.md b/docs/resources/repository.md index e03a63dd..2f1bf0aa 100644 --- a/docs/resources/repository.md +++ b/docs/resources/repository.md @@ -112,6 +112,7 @@ resource "cyral_repository" "multi_node_mongo_repo" { - `connection_draining` (Block Set, Max: 1) Parameters related to connection draining. (see [below for nested schema](#nestedblock--connection_draining)) - `labels` (List of String) Labels enable you to categorize your repository. - `mongodb_settings` (Block Set, Max: 1) Parameters related to MongoDB repositories. (see [below for nested schema](#nestedblock--mongodb_settings)) +- `redshift_settings` (Block Set, Max: 1) Parameters related to Redshift repositories. (see [below for nested schema](#nestedblock--redshift_settings)) ### Read-Only @@ -175,3 +176,13 @@ Optional: - `replica_set_name` (String) Name of the replica set, if applicable. - `srv_record_name` (String) Name of a DNS SRV record which contains cluster topology details. If specified, then all `repo_node` blocks must be declared dynamic (see [`dynamic`](#dynamic)). Only supported for `server_type="sharded"` or `server_type="replicaset". + + + +### Nested Schema for `redshift_settings` + +Optional: + +- `aws_region` (String) AWS region where the Redshift instance is deployed. +- `cluster_identifier` (String) Name of the provisioned cluster. +- `workgroup_name` (String) Workgroup name for serverless cluster. diff --git a/docs/resources/repository_user_account.md b/docs/resources/repository_user_account.md index 7363df5b..5b540946 100644 --- a/docs/resources/repository_user_account.md +++ b/docs/resources/repository_user_account.md @@ -159,6 +159,10 @@ Required: - `role_arn` (String) The AWS IAM roleARN to gain access to the database. +Optional: + +- `authenticate_as_iam_user` (Boolean) Boolean flag which indicates whether to access as an IAM user or IAM role on the Redshift cluster. By default, this is false, which means this governs access for a user. + ### Nested Schema for `auth_scheme.aws_secrets_manager`