Skip to content

Commit

Permalink
fix bug with conflicting resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronblevy committed Nov 16, 2023
1 parent 60511b4 commit 6b1ee68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/provider/service_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestServiceResource_CustomConf(t *testing.T) {
},
// Create with HA and VPC attached
{
Config: newServiceCustomVpcConfig("hareplica", Config{
Config: newServiceCustomVpcConfig("hareplica_vpc", Config{
Name: "service resource test HA",
RegionCode: "us-east-1",
MilliCPU: 500,
Expand All @@ -163,9 +163,9 @@ func TestServiceResource_CustomConf(t *testing.T) {
VpcID: DEFAULT_VPC_ID,
}),
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr("timescale_service.hareplica", "name", "service resource test HA"),
resource.TestCheckResourceAttr("timescale_service.hareplica", "enable_ha_replica", "true"),
resource.TestCheckResourceAttr("timescale_service.hareplica", "vpc_id", "2074"),
resource.TestCheckResourceAttr("timescale_service.hareplica_vpc", "name", "service resource test HA"),
resource.TestCheckResourceAttr("timescale_service.hareplica_vpc", "enable_ha_replica", "true"),
resource.TestCheckResourceAttr("timescale_service.hareplica_vpc", "vpc_id", "2074"),
),
},
},
Expand Down

0 comments on commit 6b1ee68

Please sign in to comment.