title: Terraform Datafusion deployment issues
body: <p>i am hoping someone can assist me with this.
  I am trying to spin up a datafusion instance in terraform/terragrunt and i am using the google_data_fusion_instance module. To my knowledge it is all configured correctly but when i push with cloudbuild it eventually fails in our step 2 with the following error:</p>
  <pre><code>Step #2: Error: Error creating Instance: googleapi: Error 400: Malformed name: 'projects/gc-t-prj-poc-0001-5473/locations/europe-west2/instances/'
  Step #2: Details:
  Step #2: [
  Step #2:   {
  Step #2:     &quot;@type&quot;: &quot;type.googleapis.com/google.rpc.BadRequest&quot;,
  Step #2:     &quot;fieldViolations&quot;: [
  Step #2:       {
  Step #2:         &quot;description&quot;: &quot;URL path has empty component&quot;,
  Step #2:         &quot;field&quot;: &quot;projects/gc-t-prj-poc-0001-5473/locations/europe-west2/instances/&quot;
  Step #2:       }
  Step #2:     ]
  Step #2:   }
  Step #2: ]
  </code></pre>
  <p>I cannot seem to find anything on this error online at all so it's hard for me to diagnose my code when i have no idea which area seems to have an issue, or if im simply just missing some extra lines here and there.</p>
  <p>Here is my terragrunt.hcl for it</p>
  <pre><code>terraform {
    source = &quot;../../../../modules//data_fusion/&quot;
  }
  
  # Include all settings from the root terragrunt.hcl file
  include {
    path = find_in_parent_folders(&quot;org.hcl&quot;)
  }
  
  dependency &quot;project&quot; {
    config_path = &quot;../&quot;
  
    # Configure mock outputs for the terraform commands that are returned when there are no outputs available (e.g the
    # module hasn't been applied yet.
    mock_outputs_allowed_terraform_commands = [&quot;plan&quot;, &quot;validate&quot;]
    mock_outputs = {
      project_id = &quot;gc-t-prj-poc-0001-5473&quot;
    }
  }
  
  inputs = {
    project = &quot;gc-t-prj-poc-0001-5473&quot;
    name = &quot;poc-df01&quot;
    region = &quot;europe-west2&quot;
    type = &quot;BASIC&quot;
    enable_stackdriver_logging = false
    enable_stackdriver_monitoring = false
    #labels = var.labels
    private_instance = true
    network_config = {
      network_id = &quot;projects/gc-a-prj-vpchost-0001-3312/global/networks/gc-t-vpc-0001&quot;
      ip_allocation = &quot;default&quot;
    }
    version = &quot;default&quot;
    #namespace = &quot;default&quot;
    peer_name                           =  &quot;gc-t-testfusionpeer-0001&quot;  #gc-t-ip-datafusion-0001
    network_id                          = &quot;projects/gc-a-prj-vpchost-0001-3312/global/networks/gc-t-vpc-0001&quot;
    data_fusion_network                 = &quot;projects/gc-a-prj-vpchost-0001-3312/global/networks/gc-t-datafusion-0001&quot; 
    export_custom_routes                = true
    import_custom_routes                = true
  </code></pre>
  <p>Here is the main.tf of the module</p>
  <pre><code>terraform {
    required_providers {
      cdap = {
        source = &quot;GoogleCloudPlatform/cdap&quot;
        # Pin to a specific version as 0.x releases are not guaranteed to be backwards compatible.
        version = &quot;0.9.0&quot;
      }
    }
  }
  
   provider &quot;cdap&quot; {
    host  = &quot;${module.datafusion_instance.wait_healthy_service_endpoint}/api/&quot;
    token = data.google_client_config.current.access_token
  }
  
  data &quot;google_client_config&quot; &quot;current&quot; {}
  
  resource &quot;google_data_fusion_instance&quot; &quot;this&quot; {
    provider = google-beta
    project = var.project
    name = var.data_fusion_instance
    description = &quot;Data Fusion instance for ${var.region}&quot;
    region = var.region
    type = &quot;BASIC&quot;
    enable_stackdriver_logging = false
    enable_stackdriver_monitoring = false
    labels = var.labels
    private_instance = true
    network_config {
      network = var.network_id
      ip_allocation = var.ip_allocation # format: &quot;10.89.48.0/22&quot;
    }
    version = var.data_fusion_version
   #dataproc_service_account = data.google_app_engine_default_service_account.default.email
  }
  #resource &quot;cdap_namespace&quot; &quot;namespace&quot; {
      #name = var.namespace
  #}
  
  resource &quot;google_compute_network_peering&quot; &quot;peering&quot; {
  
    name                                = var.peer_name
    network                             = var.network_id
    peer_network                        = var.data_fusion_network
    export_custom_routes                = var.export_custom_routes
    import_custom_routes                = var.import_custom_routes
  
  }
  </code></pre>
  <p>It looks like part of it is deployed and the network peer is created
  <a href="https://i.stack.imgur.com/cfal8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cfal8.png" alt="enter image description here" /></a></p>
  <p>I am officially stumped.</p>