Skip to content

Commit

Permalink
hashicorp#20068 logdeliveryconfigurations lint fixes hashicorp#1
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolivera committed Sep 23, 2021
1 parent dffd858 commit 3558cdf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions website/docs/r/elasticache_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ resource "aws_elasticache_cluster" "test" {
}
}
```

### Redis SLOWLOG configuration with Kinesis Data Firehose delivery stream as destination

```terraform
resource "aws_s3_bucket" "b" {
acl = "private"
Expand Down Expand Up @@ -243,10 +245,12 @@ The `log_delivery_configurations` block allows the streaming of Redis [SLOWLOG](
The `destination_details` block contains the target delivery stream or log group attribute. Only one of `kinesis_firehose` or `cloudwatch_logs` can be specified at a time.

The `kinesis_firehose` block supports the following:
* `delivery_stream` - The name of an existing Kinesis Firehose delivery stream.

* `delivery_stream` - The name of an existing Kinesis Firehose delivery stream.

The `cloudwatch_logs` block supports the following:
* `log_group` - The name of an existing CloudWatch Logs log group.

* `log_group` - The name of an existing CloudWatch Logs log group.

## Attributes Reference

Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/elasticache_replication_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ resource "aws_elasticache_replication_group" "primary" {
number_cache_clusters = 1
}
```

### Redis SLOWLOG configuration with CloudWatch Logs log group as destination

```terraform
Expand Down Expand Up @@ -187,6 +188,7 @@ resource "aws_elasticache_replication_group" "test" {
```

### Redis SLOWLOG configuration with Kinesis Data Firehose delivery stream as destination

```terraform
resource "aws_s3_bucket" "b" {
acl = "private"
Expand Down Expand Up @@ -325,9 +327,11 @@ The `log_delivery_configurations` block allows the streaming of Redis [SLOWLOG](
The `destination_details` block contains the target delivery stream or log group attribute. Only one of `kinesis_firehose` or `cloudwatch_logs` can be specified at a time.

The `kinesis_firehose` block supports the following:

* `delivery_stream` - The name of an existing Kinesis Firehose delivery stream.

The `cloudwatch_logs` block supports the following:

* `log_group` - The name of an existing CloudWatch Logs log group.

## Attributes Reference
Expand Down

0 comments on commit 3558cdf

Please sign in to comment.