From c434bf221cd68589d5eb0b1874cc76ba14f6be5c Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 9 Nov 2017 16:48:49 +0000 Subject: [PATCH] docs: Reshuffle docs after introducing deprecation --- website/docs/r/redshift_cluster.html.markdown | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/website/docs/r/redshift_cluster.html.markdown b/website/docs/r/redshift_cluster.html.markdown index 13e32684c20..7cad3bde648 100644 --- a/website/docs/r/redshift_cluster.html.markdown +++ b/website/docs/r/redshift_cluster.html.markdown @@ -67,12 +67,17 @@ string. * `snapshot_cluster_identifier` - (Optional) The name of the cluster the source snapshot was created from. * `owner_account` - (Optional) The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot. * `iam_roles` - (Optional) A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. -* `enable_logging` - (Optional) Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster. Defaults to `false`. +* `logging` - (Optional) Logging, documented below. +* `tags` - (Optional) A mapping of tags to assign to the resource. + +### Nested Blocks + +#### `logging` + +* `enable` - (Required) Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster. * `bucket_name` - (Optional, required when `enable_logging` is `true`) The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) * `s3_key_prefix` - (Optional) The prefix applied to the log file names. -* `tags` - (Optional) A mapping of tags to assign to the resource. - ## Attributes Reference