» google_data_fusion_instance

Represents a Data Fusion instance.

To get more information about Instance, see:

» Example Usage - Data Fusion Instance Basic

resource "google_data_fusion_instance" "basic_instance" {
  provider = "google-beta"
  name = "my-instance"
  region = "us-central1"
  type = "BASIC"
}

» Example Usage - Data Fusion Instance Full

resource "google_data_fusion_instance" "extended_instance" {
  provider = "google-beta"
  name = "my-instance"
  description = "My Data Fusion instance"
  region = "us-central1"
  type = "BASIC"
  enable_stackdriver_logging = true
  enable_stackdriver_monitoring = true
  labels = {
    example_key = "example_value"
  }
  private_instance = true
  network_config {
    network = "default"
    ip_allocation = "10.89.48.0/22"
  }
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The ID of the instance or a fully qualified identifier for the instance.

  • type - (Required) Represents the type of Data Fusion instance. Each type is configured with the default settings for processing and memory.

    • BASIC: Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.
    • ENTERPRISE: Enterprise Data Fusion instance. In Enterprise type, the user will have more features available, such as support for streaming pipelines, higher number of concurrent pipelines, etc.

  • description - (Optional) An optional description of the instance.

  • enable_stackdriver_logging - (Optional) Option to enable Stackdriver Logging.

  • enable_stackdriver_monitoring - (Optional) Option to enable Stackdriver Monitoring.

  • labels - (Optional) The resource labels for instance to use to annotate any related underlying resources, such as Compute Engine VMs.

  • options - (Optional) Map of additional options used to configure the behavior of Data Fusion instance.

  • private_instance - (Optional) Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.

  • network_config - (Optional) Network configuration options. These are required when a private Data Fusion instance is to be created. Structure is documented below.

  • region - (Optional) The region of the Data Fusion instance.

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The network_config block supports:

  • ip_allocation - (Required) The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.

  • network - (Required) Name of the network in the project with which the tenant project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}

» Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • create_time - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.

  • update_time - The time the instance was last updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.

  • state - The current state of this Data Fusion instance.

    • CREATING: Instance is being created
    • RUNNING: Instance is running and ready for requests
    • FAILED: Instance creation failed
    • DELETING: Instance is being deleted
    • UPGRADING: Instance is being upgraded
    • RESTARTING: Instance is being restarted
  • state_message - Additional information about the current state of this Data Fusion instance if available.

  • service_endpoint - Endpoint on which the Data Fusion UI and REST APIs are accessible.

  • version - Current version of the Data Fusion.

» Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 30 minutes.
  • update - Default is 10 minutes.
  • delete - Default is 25 minutes.

» Import

Instance can be imported using any of these accepted formats:

$ terraform import -provider=google-beta google_data_fusion_instance.default projects/{{project}}/locations/{{region}}/instances/{{name}}
$ terraform import -provider=google-beta google_data_fusion_instance.default {{project}}/{{region}}/{{name}}
$ terraform import -provider=google-beta google_data_fusion_instance.default {{region}}/{{name}}
$ terraform import -provider=google-beta google_data_fusion_instance.default {{name}}

» User Project Overrides

This resource supports User Project Overrides.