ssm-patch-management

claranet/ssm-patch-management/aws

Terraform Module HCL AWS

Terraform module for AWS SSM Patch Management

Install
module "ssm-patch-management" {
source = "claranet/ssm-patch-management/aws"
version = "1.3.1"
}
plain text: /constructs/tfmod-claranet-ssm-patch-management-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

tf-aws-ssm-patch-mgmt ----- This module should be used to patch Windows instances based on a schedule. The schedule must be in cron or rate format, for example by default the patch scan schedule occurs on a Wednesday 6PM, the patch install schedule occurs at 9PM. For further information on these formats please see the AWS user docs here . Instance tagging The instances that you wish to be covered by SSM patch management must be tagged with their corresponding "Patch Group". For example we have used the defaults here of "static" and "disposable" for patch scanning, and "automatic" if you want patches automatically installed. _By default:_ Instances that are tagged with Key: 'Patch Group', Value: 'Automatic' will be scanned for Windows updates and then will have the updates installed. Instan

Inputs (19)
NameTypeDescriptionDefault
s3_bucket_namestringThe name of the S3 bucket to create for log storage required
namestringThis name will prefix all resources, and be added as the value for the 'Name' ta required
envnamestringThis label will be added after 'name' on all resources, and be added as the valu required
envtypestringThis label will be added after 'envname' on all resources, and be added as the v required
install_maintenance_window_schedulestringThe schedule of the install Maintenance Window in the form of a cron or rate exp"cron(0 0 21 ? * WED *)"
install_patch_groupslistThe list of install patching groups, one target will be created per entry in thi[ "automatic" ]
approved_patcheslistThe list of approved patches for the SSM baseline[]
rejected_patcheslistThe list of rejected patches for the SSM baseline[]
scan_maintenance_window_schedulestringThe schedule of the scan Maintenance Window in the form of a cron or rate expres"cron(0 0 18 ? * WED *)"
aws_regionstringThe AWS region to create this SSM resource in"eu-west-1"
max_errorsstringThe maximum amount of errors that instances of a task will tollerate before bein"50"
profilestringThis label will be added to the SSM baseline description"Windows"
max_concurrencystringThe maximum amount of concurrent instances of a task that will be executed in pa"20"
patch_classificationlistThe list of patch classifications for the SSM baseline[ "CriticalUpdates", "SecurityUpdate
patch_severitylistThe list of patch severities for the SSM baseline[ "Critical", "Important" ]
maintenance_window_durationstringThe duration of the maintenence windows (hours)"3"
maintenance_window_cutoffstringThe number of hours before the end of the Maintenance Window that Systems Manage"1"
scan_patch_groupslistThe list of scan patching groups, one target will be created per entry in this l[ "static", "disposable" ]
product_versionslistThe list of product versions for the SSM baseline[ "WindowsServer2016", "WindowsServe
Resources (8)
aws_iam_roleaws_iam_role_policy_attachmentaws_s3_bucketaws_ssm_maintenance_windowaws_ssm_maintenance_window_targetaws_ssm_maintenance_window_taskaws_ssm_patch_baselineaws_ssm_patch_group
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.1
Cloud AWS
★ Stars24
Forks26
Total downloads7.9k
Inputs19
Resources8
LicenseMIT
Namespaceclaranet
Updated