Skip to content

Commit 08d6fcc

Browse files
committed
Semgrep fixes
1 parent e60d207 commit 08d6fcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/dsql/cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestAccDSQLCluster_basic(t *testing.T) {
5959
"encryption_type": tfknownvalue.StringExact(awstypes.EncryptionTypeAwsOwnedKmsKey),
6060
}),
6161
})),
62-
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New("force_destroy"), knownvalue.Bool(false)),
62+
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New(names.AttrForceDestroy), knownvalue.Bool(false)),
6363
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New("kms_encryption_key"), knownvalue.StringExact("AWS_OWNED_KMS_KEY")),
6464
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New(names.AttrTags), knownvalue.Null()),
6565
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New("vpc_endpoint_service_name"), knownvalue.NotNull()),
@@ -181,7 +181,7 @@ func TestAccDSQLCluster_forceDestroy(t *testing.T) {
181181
},
182182
ConfigStateChecks: []statecheck.StateCheck{
183183
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New("deletion_protection_enabled"), knownvalue.Bool(true)),
184-
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New("force_destroy"), knownvalue.Bool(true)),
184+
statecheck.ExpectKnownValue(resourceName, tfjsonpath.New(names.AttrForceDestroy), knownvalue.Bool(true)),
185185
},
186186
},
187187
},

0 commit comments

Comments
 (0)