Provides an SSM Patch Group resource
resource "aws_ssm_patch_baseline" "production" {
name = "patch-baseline"
approved_patches = ["KB123456"]
}
resource "aws_ssm_patch_group" "patchgroup" {
baseline_id = aws_ssm_patch_baseline.production.id
patch_group = "patch-group-name"
}
This resource supports the following arguments:
baseline_id
- (Required) The ID of the patch baseline to register the patch group with.patch_group
- (Required) The name of the patch group that should be registered with the patch baseline.This resource exports the following attributes in addition to the arguments above:
id
- The name of the patch group and ID of the patch baseline separated by a comma (,
).