Skip to content

Commit 6c019af

Browse files
Expose aws_cloudwatch_retention_days through aws-platform-ui-main (#55)
Allows consumers to override the CloudWatch log retention (default 90 days) without modifying the upstream module. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bc1cf43 commit 6c019af

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

aws-platform-ui-main/eks-vpc.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module "eks_vpc" {
2626

2727
monitoring = var.monitoring
2828
logs = var.logs
29+
aws_cloudwatch_retention_days = var.aws_cloudwatch_retention_days
2930
grafana_saml_admin_role_values = var.grafana_saml_admin_role_values
3031
grafana_saml_role_assertion = var.grafana_saml_role_assertion
3132
grafana_saml_metadata_xml = var.grafana_saml_metadata_xml

aws-platform-ui-main/vars.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ variable "logs" {
120120
default = false
121121
}
122122

123+
variable "aws_cloudwatch_retention_days" {
124+
type = number
125+
default = 90
126+
}
127+
123128
variable "custom_instance_userdata" {
124129
type = string
125130
default = ""

0 commit comments

Comments
 (0)