Google Cloud Healthcare Dataset

This page shows how to write Terraform for Cloud Healthcare Dataset and write them securely.

google_healthcare_dataset (Terraform)

The Dataset in Cloud Healthcare can be configured in Terraform with the resource name google_healthcare_dataset. The following sections describe 4 examples of how to use the resource and its parameters.

Example Usage from GitHub

healthcare.tf#L3
resource "google_healthcare_dataset" "dataset" {
  name     = var.dataset
  location = var.region
}

# create healthcare store for storing dicom files
main.tf#L3
resource "google_healthcare_dataset" "default" {
  name      = "example-dataset"
  location  = var.region
  time_zone = "America/Chicago"
}

main.tf#L7
resource "google_healthcare_dataset" "this" {
  location  = var.location
  name      = var.name
  project   = var.project
  time_zone = var.time_zone

healthcare.tf#L1
resource "google_healthcare_dataset" "default" {
  name      = "example-dataset"
  location  = "us-central1"
  time_zone = "UTC"

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The location for the Dataset.

The resource name for the Dataset.

The fully qualified name of this dataset

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

Explanation in Terraform Registry

A Healthcare Dataset is a toplevel logical grouping of dicomStores, fhirStores and hl7V2Stores. To get more information about Dataset, see:

Frequently asked questions

What is Google Cloud Healthcare Dataset?

Google Cloud Healthcare Dataset is a resource for Cloud Healthcare of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Cloud Healthcare Dataset?

For Terraform, the GoogleCloudPlatform/healthcare-dicom-dicomweb-adapter, ricardouseche/gcp-healthcare-api and niveklabs/google source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.