hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.33k stars 1.73k forks source link

Add support for creating DataMapper Workspace #19222

Closed sana-google closed 1 month ago

sana-google commented 2 months ago

Community Note

Description

Healthcare Data Engine (HDE) is a solution closely coupled with the Healthcare API. It is built using components provided by the Healthcare API. HDE has a feature called DataMapper, that allows users to map their source data (in BigQuery tables) to the FHIR standard format via a UI. This is achieved from within a Data Mapper Workspace, or simply called workspace.

Currently the workspace can be set up via an API call or the Cloud Console UI. However, based on customer requirements, it would be good to extend this functionality to be fulfilled via Terraform.

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_healthcare_datamapper_workspace" "default" {
  provider = "google"
  name    = "example-dm-workspace"
  dataset = google_healthcare_dataset.default.id
  data_project_ids = ["source-data-project-1", "source-data-project-2", ... ] 
}

References

b/364292751

melinath commented 2 months ago

Note from triage: This is currently in alpha

sana-google commented 1 month ago

I have updated the references link to - https://cloud.google.com/healthcare-api/healthcare-data-engine/docs/reference/rest/v1/projects.locations.datasets.dataMapperWorkspaces

Edit: Misspelt link

sana-google commented 1 month ago

The PR I am raising will add a new resource, google_healthcare_workspace. The export feature will be added later.

github-actions[bot] commented 2 weeks ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.