Skip to content

Commit

Permalink
Use 'acctest.CheckResourceAttrRegionalARNNoAccount' to validate 'imag…
Browse files Browse the repository at this point in the history
…e_arn'.
  • Loading branch information
ewbankkit committed Dec 7, 2021
1 parent 9b3ed39 commit 5c2e4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/appstream/image_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func TestAccAppStreamImageBuilder_imageARN(t *testing.T) {
Config: testAccImageBuilderByImageARNConfig(rName, imageName, instanceType),
Check: resource.ComposeTestCheckFunc(
testAccCheckImageBuilderExists(resourceName),
acctest.CheckResourceAttrRegionalARN(resourceName, "image_arn", "appstream", fmt.Sprintf("image/%s", imageName)),
acctest.CheckResourceAttrRegionalARNNoAccount(resourceName, "image_arn", "appstream", fmt.Sprintf("image/%s", imageName)),
),
},
{
Expand Down

0 comments on commit 5c2e4ec

Please sign in to comment.