anchor.diff:  	})
   }
   
  -func TestAccContainerCluster_withTimeout(t *testing.T) {
  -	t.Parallel()
  -
  -	resource.Test(t, resource.TestCase{
  -		PreCheck:	  func() { testAccPreCheck(t) },
  -		Providers:	  testAccProviders,
  -		CheckDestroy: testAccCheckContainerClusterDestroy,
  -		Steps: []resource.TestStep{
  -			{
  -				Config: testAccContainerCluster_withTimeout(),
  +func TestAccContainerCluster_withAddons(t *testing.T) {
  +	t.Parallel()
  +
  +	clusterName := fmt.Sprintf("cluster-test-%s", acctest.RandString(10))
  +
  +	resource.Test(t, resource.TestCase{
  +		PreCheck:	  func() { testAccPreCheck(t) },
  +		Providers:	  testAccProviders,
  +		CheckDestroy: testAccCheckContainerClusterDestroy,
  +		Steps: []resource.TestStep{
  +			{
  +				Config: testAccContainerCluster_withAddons(clusterName),
   			},
   			{
   				ResourceName:		 "google_container_cluster.primary",
  
positive.code: }
  
  <% unless version == 'ga' -%>
  func TestAccContainerCluster_withIstioEnabled(t *testing.T) {
  	t.Parallel()
  
  	clusterName := fmt.Sprintf("cluster-test-%s", acctest.RandString(10))
  	resource.Test(t, resource.TestCase{
  		PreCheck:	  func() { testAccPreCheck(t) },
  		Providers:	  testAccProviders,
  		CheckDestroy: testAccCheckContainerClusterDestroy,
  		Steps: []resource.TestStep{
  			{
  				Config: testAccContainerCluster_withIstioEnabled(clusterName),
  				Check: resource.ComposeTestCheckFunc(
  					resource.TestCheckResourceAttr("google_container_cluster.with_istio_enabled", "addons_config.0.istio_config.0.disabled", "false"),
  				),
  			},
  			{
  				ResourceName:		 "google_container_cluster.with_istio_enabled",
  				ImportStateIdPrefix: "us-central1-a/",
  				ImportState:		 true,
  				ImportStateVerify:	 true,
  			},
  			{
  				Config: testAccContainerCluster_withIstioAuthEnabled(clusterName),
  				Check: resource.ComposeTestCheckFunc(
  					resource.TestCheckResourceAttr("google_container_cluster.with_istio_enabled", "addons_config.0.istio_config.0.auth", "AUTH_MUTUAL_TLS"),
  				),
  			},
  			{
  				ResourceName:		 "google_container_cluster.with_istio_enabled",
  				ImportStateIdPrefix: "us-central1-a/",
  				ImportState:		 true,
  				ImportStateVerify:	 true,
  			},
  		},
  	})
  }
  
  func TestAccContainerCluster_withCloudRunEnabled(t *testing.T) {
  	t.Parallel()
  
  	clusterName := fmt.Sprintf("cluster-test-%s", acctest.RandString(10))
  	resource.Test(t, resource.TestCase{
  		PreCheck:	  func() { testAccPreCheck(t) },
  		Providers:	  testAccProviders,
  		CheckDestroy: testAccCheckContainerClusterDestroy,
  		Steps: []resource.TestStep{
  			{
  				Config: testAccContainerCluster_withCloudRunEnabled(clusterName),
  				Check: resource.ComposeTestCheckFunc(
  					resource.TestCheckResourceAttr("google_container_cluster.with_cloudrun_enabled", "addons_config.0.cloudrun_config.0.disabled", "false"),
  				),
  			},
  			{
  				ResourceName:		 "google_container_cluster.with_cloudrun_enabled",
  				ImportStateIdPrefix: "us-central1-a/",
  				ImportState:		 true,
  				ImportStateVerify:	 true,
  			},
  		},
  	})
  }
  
  func TestAccContainerCluster_withAuthenticatorGroupsConfig(t *testing.T) {
  	t.Parallel()
  	clusterName := fmt.Sprintf("cluster-test-%s", acctest.RandString(10))
  
negative.code: }`, name)
  }
  
  func testAccContainerCluster_withAddons(clusterName string) string {
  	return fmt.Sprintf(`
  resource "google_container_cluster" "primary" {
  	name = "%s"
  	location = "us-central1-a"
  	initial_node_count = 1
  
  	addons_config {
  		http_load_balancing { disabled = true }
  		horizontal_pod_autoscaling { disabled = true }
  		kubernetes_dashboard { disabled = true }
  		network_policy_config { disabled = true }
  <% unless version == 'ga' -%>
  		istio_config {
  			disabled = true
  			auth = "AUTH_MUTUAL_TLS"
  		}
  		cloudrun_config { disabled = true }
  <% end -%>
  	}
  }`, clusterName)
  }
  