Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Jan 31, 2020
1 parent 34295c8 commit 67420c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_ssm_patch_baseline.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func resourceAwsSsmPatchBaselineCreate(d *schema.ResourceData, meta interface{})
params.ApprovalRules = expandAwsSsmPatchRuleGroup(d)
}

if v, ok := d.GetOk("approved_patches_enable_non_security"); ok && aws.StringValue(params.OperatingSystem) != ssm.OperatingSystemWindows {
if v, ok := d.GetOk("approved_patches_enable_non_security"); ok {
params.ApprovedPatchesEnableNonSecurity = aws.Bool(v.(bool))
}

Expand Down

0 comments on commit 67420c5

Please sign in to comment.