Google Cloud Healthcare Consent Store

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

google_healthcare_consent_store (Terraform)

The Consent Store in Cloud Healthcare can be configured in Terraform with the resource name google_healthcare_consent_store. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

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

Identifies the dataset addressed by this request. Must be in the format 'projects/[project]/locations/[location]/datasets/[dataset]'

Default time to live for consents in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

If true, [consents.patch][google.cloud.healthcare.v1.consent.UpdateConsent] creates the consent if it does not already exist.

  • id optional computed - string
  • labels optional - map from string to string

User-supplied key-value pairs used to organize Consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: '[p[Ll]p[Lo]][p[Ll]p[Lo]p[N]_-][0,62]' Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: '[p[Ll]p[Lo]p[N]_-][0,63]' No more than 64 labels can be associated with a given store. An object containing a list of "key": value pairs. Example: [ "name": "wrench", "mass": "1.3kg", "count": "3" ].

The name of this ConsentStore, for example: "consent1"

Explanation in Terraform Registry

The Consent Management API is a tool for tracking user consents and the documentation associated with the consents. To get more information about ConsentStore, see:

Frequently asked questions

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

security-icon

Automate config file reviews on your commits

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