diff --git a/internal/service/timestreaminfluxdb/db_instance_test.go b/internal/service/timestreaminfluxdb/db_instance_test.go index 280d27c6094..bf9a6ac4ae3 100644 --- a/internal/service/timestreaminfluxdb/db_instance_test.go +++ b/internal/service/timestreaminfluxdb/db_instance_test.go @@ -53,7 +53,7 @@ func TestAccTimestreamInfluxDBDBInstance_basic(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "deployment_type", string(awstypes.DeploymentTypeSingleAz)), resource.TestCheckResourceAttrSet(resourceName, "influx_auth_parameters_secret_arn"), resource.TestCheckResourceAttr(resourceName, "network_type", string(awstypes.NetworkTypeIpv4)), - resource.TestCheckResourceAttr(resourceName, "port", "8086"), + resource.TestCheckResourceAttr(resourceName, names.AttrPort, "8086"), resource.TestCheckResourceAttr(resourceName, names.AttrPubliclyAccessible, acctest.CtFalse), ), },