anchor.diff:  }
   <% end -%>
   
  -func testAccDataprocCluster_withImageVersion(rnd string) string {
  +func testAccDataprocCluster_withImageVersion(rnd, version string) string {
   	return fmt.Sprintf(`
   resource "google_dataproc_cluster" "with_image_version" {
     name   = "tf-test-dproc-%s"
  
positive.code: 
    cluster_config {
      software_config {
        image_version = "1.3.7-deb9"
      }
    }
  }
  `, rnd)
  }
  
  func testAccDataprocCluster_withOptionalComponents(rnd string) string {
  
negative.code: 	t.Parallel()
  
  	rnd := randString(t, 10)
  	version := "2.0-debian10"
  
  	var cluster dataproc.Cluster
  	vcrTest(t, resource.TestCase{
  		PreCheck:     func() { testAccPreCheck(t) },
  		Providers:    testAccProviders,
  		CheckDestroy: testAccCheckDataprocClusterDestroy(t),
  		Steps: []resource.TestStep{
  			{
  				Config: testAccDataprocCluster_withImageVersion(rnd, version),
  				Check: resource.ComposeTestCheckFunc(
  					testAccCheckDataprocClusterExists(t, "google_dataproc_cluster.with_image_version", &cluster),
  					resource.TestCheckResourceAttr("google_dataproc_cluster.with_image_version", "cluster_config.0.software_config.0.image_version", version),
  				),
  			},
  		},
  