Skip to content

Instantly share code, notes, and snippets.

@jster1357
Created June 2, 2022 17:59
Show Gist options
  • Save jster1357/80e157e7e54f045bf3aafdf09fd38893 to your computer and use it in GitHub Desktop.
Save jster1357/80e157e7e54f045bf3aafdf09fd38893 to your computer and use it in GitHub Desktop.
Data Fusion Terraform - no shared vpc w/ pipeline load
variable "project_id" {
description = "The project id of the cdf deployment"
type = string
}
variable "instance_name" {
description = "The instance name."
type = string
}
variable "cdf_version" {
description = "The version of CDF to deploy: BASIC, DEVELOPER, ENTERPRISE"
type = string
}
variable "cdf_release" {
description = "The release of cdf to deploy: 6.6.x, 6.5.x, etc."
type = string
}
variable "cdf_network" {
description = "The network to deploy CDF on"
type = string
}
variable "cdf_ip_range" {
description = "The /22 CIDR range to deploy CDF on"
type = string
}
variable "description" {
description = "The description of the instance"
type = string
}
variable "default_service_account" {
description = "The default dataproc service account"
type = string
}
variable "region" {
description = "The region data fusion is deployed in"
type = string
}
variable "instance_owner" {
description = "The email of the instance owner"
type = string
}
variable "cdf_region_map" {
description = "map"
default = {
"us-central1" = "usc1"
"us-east1" = "use1"
"us-east4" = "use4"
"us-west1" = "usw1"
"us-west2" = "usw2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment