Skip to content

Commit

Permalink
add zero tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Apr 24, 2020
1 parent c267605 commit 2224a34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/resource_aws_db_snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func TestAccAWSDBSnapshot_basic(t *testing.T) {
Config: testAccAwsDbSnapshotConfig(rName),
Check: resource.ComposeTestCheckFunc(
testAccCheckDbSnapshotExists(resourceName, &v),
resource.TestCheckResourceAttr(resourceName, "tags.%", "0"),
testAccMatchResourceAttrRegionalARN(resourceName, "db_snapshot_arn", "rds", regexp.MustCompile(`snapshot:.+`)),
),
},
Expand Down

0 comments on commit 2224a34

Please sign in to comment.