Skip to content

Commit

Permalink
Merge pull request #5371 from internetstaff/master
Browse files Browse the repository at this point in the history
Add SSM patch baseline operating system support for AMAZON_LINUX_2 and SUSE
  • Loading branch information
bflad committed Jul 27, 2018
2 parents d42cf4b + 2afb4cc commit a95ba54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aws/resource_aws_ssm_patch_baseline.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ var ssmPatchOSs = []string{
ssm.OperatingSystemUbuntu,
ssm.OperatingSystemRedhatEnterpriseLinux,
ssm.OperatingSystemCentos,
ssm.OperatingSystemAmazonLinux2,
ssm.OperatingSystemSuse,
}

func resourceAwsSsmPatchBaseline() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/ssm_patch_baseline.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The following arguments are supported:

* `name` - (Required) The name of the patch baseline.
* `description` - (Optional) The description of the patch baseline.
* `operating_system` - (Optional) Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
* `operating_system` - (Optional) Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
* `approved_patches_compliance_level` - (Optional) Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
* `approved_patches` - (Optional) A list of explicitly approved patches for the baseline.
* `rejected_patches` - (Optional) A list of rejected patches.
Expand Down

0 comments on commit a95ba54

Please sign in to comment.