Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
pavmoj committed Jul 15, 2024
1 parent 108211c commit 8a1941f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ resource "aws_ssm_patch_baseline" ssm-patch-baseline {

patch_filter {
key = var.operating_system == "WINDOWS" ? "MSRC_SEVERITY" : "SEVERITY"
values = var.severity #["Critical", "Important"]
values = var.severity #
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ variable "compliance_level" {
}
variable "patch_classification" {
type = list(string)
description = "Classification of the patch"
description = "Windows Options=(CriticalUpdates,SecurityUpdates,DefinitionUpdates,Drivers,FeaturePacks,ServicePacks,Tools,UpdateRollups,Updates,Upgrades), Linux Options=(Security,Bugfix,Enhancement,Recommended,Newpackage)"
default = ["*"]
}
variable "severity" {
type = list(string)
description = "Severity of the patch"
description = "Severity of the patch e.g. Critical, Important, Medium, Low"
default = ["*"]
}
variable "product" {
type = list(string)
description = "The specific product the patch is applicable for"
description = "The specific product the patch is applicable for e.g. RedhatEnterpriseLinux8.5, WindowsServer2022"
default = ["*"]
}
variable "patch_schedule" {
Expand Down

0 comments on commit 8a1941f

Please sign in to comment.