Skip to content

paragkapoorcs/terraform-google-data-fusion

 
 

Repository files navigation

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
data_fusion_service_account Google Managed Data Fusion Service Account Email string n/a yes
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) <map> 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) <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.

About

[ALPHA] Terraform module for managing Cloud Data Fusion

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 83.8%
  • Makefile 6.8%
  • Ruby 5.3%
  • Shell 4.1%