Skip to content

Commit

Permalink
container: fix TestAccContainerCluster_withFleetConfig failure
Browse files Browse the repository at this point in the history
Fixes hashicorp/terraform-provider-google#20253

Use a valid (but different) project for the test that migrating the
fleet or cluster to a different project fails
  • Loading branch information
wyardley committed Nov 13, 2024
1 parent acda2f0 commit 1d6ce72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5232,7 +5232,7 @@ func TestAccContainerCluster_withFleetConfig(t *testing.T) {
ImportStateVerifyIgnore: []string{"min_master_version", "deletion_protection"},
},
{
Config: testAccContainerCluster_withFleetConfig(clusterName, "random-project", networkName, subnetworkName),
Config: testAccContainerCluster_withFleetConfig(clusterName, "tdx-guest-images", networkName, subnetworkName),
ExpectError: regexp.MustCompile(`changing existing fleet host project is not supported`),
},
{
Expand Down

0 comments on commit 1d6ce72

Please sign in to comment.