This module handle opinionated Google Cloud Platform Data Fusion instances.
Basic usage of this module is as follows:
module "data_fusion" {
source = "terraform-google-modules/data-fusion/google"
version = "~> 4.1"
name = "example-instance"
project = "example-project"
region = "us-central1"
}
Functional examples are included in the examples directory.
Name | Description | Type | Default | Required |
---|---|---|---|---|
datafusion_version | Data Fusion Version to deploy. | string |
null |
no |
dataproc_subnet | Name for subnet to create and configure for Dataproc clusters controlled by private Data Fusion instance. | string |
"dataproc-subnet" |
no |
description | An optional description of the instance. | string |
null |
no |
labels | The resource labels for instance to use to annotate any related underlying resources, such as Compute Engine VMs. | map(string) |
{} |
no |
name | Name of the instance. | string |
n/a | yes |
network | Name for VPC to create or reuse to be configured for use with private Data Fusion instance. | string |
n/a | yes |
options | Map of additional options used to configure the behavior of Data Fusion instance. | map(string) |
{} |
no |
project | The project ID to deploy to. | string |
n/a | yes |
region | The region of the instance. | string |
n/a | yes |
type | Represents the type of the instance (BASIC or ENTERPRISE) | string |
"ENTERPRISE" |
no |
Name | Description |
---|---|
instance | The created CDF instance |
tenant_project | The Google managed tenant project ID in which the instance will run its jobs |
These sections describe requirements for using this module.
The following dependencies must be available:
- Terraform v0.13+
- Terraform Provider for GCP plugin v4.12
A service account with the following roles must be used to provision the resources of this module:
- Data Fusion Admin:
roles/datafusion.admin
The Project Factory module and the IAM module may be used in combination to provision a service account with the necessary roles applied.
A project with the following APIs enabled must be used to host the resources of this module:
- Google Cloud Data Fusion API:
datafusion.googleapis.com
The Project Factory module can be used to provision a project with the necessary APIs enabled.
Refer to the contribution guidelines for information on contributing to this module.