Skip to content

Instantly share code, notes, and snippets.

@jster1357
Created June 1, 2022 19:43
Show Gist options
  • Save jster1357/bae764ede641ac91231c0a57de931a52 to your computer and use it in GitHub Desktop.
Save jster1357/bae764ede641ac91231c0a57de931a52 to your computer and use it in GitHub Desktop.
Data Fusion Terraform Instance Creation - no shared vpc
resource "google_data_fusion_instance" "create_instance" {
name = var.instance_name
description = var.description
region = var.region
type = var.cdf_version
enable_stackdriver_logging = true
enable_stackdriver_monitoring = true
labels = {
instance_owner = var.instance_owner
}
private_instance = true
network_config {
network = var.cdf_network
ip_allocation = var.cdf_ip_range
}
version = var.cdf_release
dataproc_service_account = var.default_service_account
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment