Skip to content

Commit

Permalink
added fluenbit and karpenter helm chart, IAM policies, merged VPC cha…
Browse files Browse the repository at this point in the history
…nges
  • Loading branch information
Max Rahimi committed Jun 11, 2024
1 parent c9eaca1 commit fa57b1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion iam_policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data "aws_iam_policy_document" "fluent-bit" {
effect = "Allow"
actions = ["ssm:GetParameter"]
resources = [
"arn:aws:ssm:*:*:parameter/AmazonCloudWatch-*"
"arn:${data.aws_caller_identity.current.provider}:ssm:*:*:parameter/AmazonCloudWatch-*"
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ variable "fb_log_group_name" {
default = "Fluent-bit-cloudwatch"
}

variable "fb_log_system_group_name" {
description = "Fluent-bit systemD log group name"
variable "fb_system_log_group_name" {
description = "Fluent-bit systemd log group name"
type = string
default = "Fluent-bit-cloudwatch"
}
Expand All @@ -174,7 +174,7 @@ variable "fb_log_encryption" {
}

variable "fb_log_systemd" {
description = "Enable Fluent-bit log encryption"
description = "Enable Fluent-bit cloudwatch logging for systemd"
type = bool
default = true
}
Expand All @@ -198,7 +198,7 @@ variable "fb_log_retention" {
}

variable "fb_system_log_retention" {
description = "Days to retain Fluent-bit systemD logs"
description = "Days to retain Fluent-bit systemd logs"
type = number
default = 7
}
Expand Down

0 comments on commit fa57b1b

Please sign in to comment.