Skip to content

Commit

Permalink
chore: add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanfreitag committed Oct 30, 2024
1 parent c223e37 commit b2b4d7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/39949.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_ssm_patch_baseline: Fix validation error when `approve_after_days` exceeds value of `100`.
```
4 changes: 2 additions & 2 deletions internal/service/ssm/patch_baseline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ func TestAccSSMPatchBaseline_approveAfterDaysParam(t *testing.T) {
Config: testAccPatchBaselineConfig_approve_after_days(name),
Check: resource.ComposeTestCheckFunc(
testAccCheckPatchBaselineExists(ctx, resourceName, &before),
resource.TestCheckResourceAttr(resourceName, "approval_rule.#", acctest.Ct1),
resource.TestCheckResourceAttr(resourceName, "approval_rule.#", "1"),
resource.TestCheckResourceAttr(resourceName, "approval_rule.0.approve_after_days", "360"),
resource.TestCheckResourceAttr(resourceName, "approval_rule.0.patch_filter.#", acctest.Ct2),
resource.TestCheckResourceAttr(resourceName, "approval_rule.0.patch_filter.#", "2"),
),
},
},
Expand Down

0 comments on commit b2b4d7a

Please sign in to comment.