Skip to content

Terraform module for terraform-gcp-tamr-vm

License

Notifications You must be signed in to change notification settings

Datatamer/terraform-gcp-tamr-vm

Repository files navigation

Requirements

Name Version
terraform >= 1.0.0
google >= 5.0, <6.0.0

Providers

Name Version
google >= 5.0, <6.0.0

Modules

No modules.

Resources

Name Type
google_compute_address.external_ip resource
google_compute_address.tamr_ip resource
google_compute_instance.tamr resource
google_storage_bucket_object.shutdown_script resource
google_storage_bucket_object.startup_script resource

Inputs

Name Description Type Default Required
tamr_config_file Override generated tamr configuration. The tamr configuration is specified using a yaml file, in the format that is documented (https://docs.tamr.com/previous/docs/configuration-configuring-unify#section-setting-configuration-variables) for configuring “many variables” at once. string n/a yes
tamr_filesystem_bucket GCS bucket to use for the tamr default file system string n/a yes
tamr_instance_image Image to use for boot disk string n/a yes
tamr_instance_project The project to launch the tamr VM instance in. string n/a yes
tamr_instance_service_account email of service account to attach to the tamr instance string n/a yes
tamr_instance_subnet subnetwork to attach instance too string n/a yes
tamr_instance_zone zone to deploy tamr vm string n/a yes
tamr_zip_uri gcs location to download tamr zip from string n/a yes
labels labels to attach to created resources map(string) {} no
metadata custom metadata to attach to created VM map(string) {} no
pre_install_bash Bash to be run before Tamr is installed.
Likely to be used to meet Tamr's prerequisites, if not already met by the image. (https://docs.tamr.com/new/docs/requirements )
This will only be run once before Tamr is installed, unless Tamr fails to install. This bash will also be run on subsequent attempts to install Tamr, so it is recommended that this bash is idempotent.
string "" no
tamr_external_ip Create and attach an external ip to tamr VM bool false no
tamr_instance_deletion_protection Enabled deletion protection for the tamr VM bool true no
tamr_instance_disk_size size of the boot disk number 100 no
tamr_instance_disk_type boot disk type string "pd-ssd" no
tamr_instance_install_directory directory to install tamr into string "/data/tamr" no
tamr_instance_machine_type machine type to use for tamr vm string "n1-highmem-8" no
tamr_instance_name Name of the VM running tamr string "tamr" no
tamr_instance_tags list of network tags to attach to instance list(string) [] no

Outputs

Name Description
tamr_instance_internal_ip internal ip of tamr vm
tamr_instance_name name of the tamr vm
tamr_instance_self_link full self link of created tamr vm
tamr_instance_zone zone of the tamr vm
tmpl_startup_script rendered metadata startup script