Skip to content

Commit

Permalink
run fmt & regenerate INOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
jrlonan-gt committed Oct 23, 2023
1 parent 6a079fc commit 24cee14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion modules/fluentd/INOUT.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
| log\_vault\_role | Name of the Vault role in the AWS secrets engine to provide credentials for fluentd to write to Elasticsearch and S3 | `string` | `"fluentd_logger"` | no |
| logs\_cloudwatch\_enabled | Enable to log to CloudWatch | `bool` | `false` | no |
| logs\_log\_group\_name | Name of CloudWatch Log Group to store logs | `string` | `"/fluentd/logs"` | no |
| logs\_retention\_time | CloudWatch Log Retention Time | `number` | `90` | no |
| logs\_s3\_abort\_incomplete\_days | Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. | `number` | `7` | no |
| logs\_s3\_bucket\_name | Name of S3 bucket to store logs for long term archival | `string` | `""` | no |
| logs\_s3\_enabled | Enable to log to S3 | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/fluentd/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data "template_file" "fluentd_tf_rendered_conf" {
weekly_index_enabled_consul_key = local.weekly_index_enabled_consul_key

log_group_name = var.logs_log_group_name
aws_region = var.aws_region
aws_region = var.aws_region

inject_source_host = local.inject_source_host
source_address_key = local.source_address_key
Expand Down
12 changes: 6 additions & 6 deletions modules/fluentd/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ data "aws_iam_policy_document" "logs_s3" {
effect = "Allow"

actions = [
"logs:PutLogEvents",
"logs:CreateLogGroup",
"logs:PutRetentionPolicy",
"logs:CreateLogStream",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams"
"logs:PutLogEvents",
"logs:CreateLogGroup",
"logs:PutRetentionPolicy",
"logs:CreateLogStream",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams"
]

resources = ["*"]
Expand Down

0 comments on commit 24cee14

Please sign in to comment.