@@ -59,7 +59,7 @@ func TestAccDSQLCluster_basic(t *testing.T) {
59
59
"encryption_type" : tfknownvalue .StringExact (awstypes .EncryptionTypeAwsOwnedKmsKey ),
60
60
}),
61
61
})),
62
- statecheck .ExpectKnownValue (resourceName , tfjsonpath .New ("force_destroy" ), knownvalue .Bool (false )),
62
+ statecheck .ExpectKnownValue (resourceName , tfjsonpath .New (names . AttrForceDestroy ), knownvalue .Bool (false )),
63
63
statecheck .ExpectKnownValue (resourceName , tfjsonpath .New ("kms_encryption_key" ), knownvalue .StringExact ("AWS_OWNED_KMS_KEY" )),
64
64
statecheck .ExpectKnownValue (resourceName , tfjsonpath .New (names .AttrTags ), knownvalue .Null ()),
65
65
statecheck .ExpectKnownValue (resourceName , tfjsonpath .New ("vpc_endpoint_service_name" ), knownvalue .NotNull ()),
@@ -181,7 +181,7 @@ func TestAccDSQLCluster_forceDestroy(t *testing.T) {
181
181
},
182
182
ConfigStateChecks : []statecheck.StateCheck {
183
183
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 )),
185
185
},
186
186
},
187
187
},
0 commit comments