Skip to content

Commit

Permalink
configservice
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Jan 9, 2025
1 parent 404685f commit fd08b32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .ci/semgrep/acctest/checks/arn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ rules:
message: Use one of the `acctest` ARN value checks or TestCheckResourceAttrPair
paths:
exclude:
- "internal/service/configservice"
- "internal/service/connect"
- "internal/service/controltower"
- "internal/service/datazone"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAccConfigServiceAggregateAuthorization_basic(t *testing.T) {
Config: testAccAggregateAuthorizationConfig_basic(accountID),
Check: resource.ComposeTestCheckFunc(
testAccCheckAggregateAuthorizationExists(ctx, resourceName, &aa),
resource.TestCheckResourceAttrSet(resourceName, names.AttrARN),
acctest.CheckResourceAttrRegionalARNFormat(ctx, resourceName, names.AttrARN, "config", "aggregation-authorization/{account_id}/{region}"),
resource.TestCheckResourceAttr(resourceName, names.AttrAccountID, accountID),
resource.TestCheckResourceAttr(resourceName, names.AttrRegion, acctest.Region()),
),
Expand Down

0 comments on commit fd08b32

Please sign in to comment.