Skip to content

Commit

Permalink
Add test for automation document correct arn
Browse files Browse the repository at this point in the history
  • Loading branch information
eugercek committed Oct 13, 2024
1 parent 0446e27 commit cd28da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/ssm/document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ func TestAccSSMDocument_automation(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
testAccCheckDocumentExists(ctx, resourceName),
resource.TestCheckResourceAttr(resourceName, "document_type", "Automation"),
acctest.CheckResourceAttrRegionalARN(resourceName, names.AttrARN, "ssm", fmt.Sprintf("automation-definition/%s", rName)),
),
},
{
Expand Down

0 comments on commit cd28da4

Please sign in to comment.