/terraform-google-data-fusion

[ALPHA] Terraform module for managing Cloud Data Fusion

Primary LanguageHCLApache License 2.0Apache-2.0

terraform-google-data-fusion

This module handle opinionated Google Cloud Platform Data Fusion instances.

Usage

Basic usage of this module is as follows:

module "data_fusion" {
  source  = "terraform-google-modules/data-fusion/google"
  version = "~> 0.1"

  name    = "example-instance"
  project = "example-project"
  region  = "us-central1"
}

Functional examples are included in the examples directory.

Inputs

Name Description Type Default Required
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) <map> no
name Name of the instance. string n/a yes
network_config Network configuration options as defined in https://www.terraform.io/docs/providers/google/r/data_fusion_instance.html#network_config. Setting this implies a private instance. object "null" no
options Map of additional options used to configure the behavior of Data Fusion instance. map(string) <map> 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

Outputs

Name Description
instance The created CDF instance
tenant_project The Google managed tenant project ID in which the instance will run its jobs

Requirements

These sections describe requirements for using this module.

Software

The following dependencies must be available:

Service Account

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.

APIs

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.

Contributing

Refer to the contribution guidelines for information on contributing to this module.