Azure Healthcare Service

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

azurerm_healthcare_service (Terraform)

The Service in Healthcare can be configured in Terraform with the resource name azurerm_healthcare_service. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L8
resource "azurerm_healthcare_service" "hs" {
  for_each = var.hc_service
  name                = each.value["name"]
  resource_group_name = lookup(var.resource_groups, each.value["rg_key"], null)["rg_name"]
  location            = lookup(var.resource_groups, each.value["rg_key"], null)["location"]
  kind                = each.value["kind"]
main.tf#L7
resource "azurerm_healthcare_service" "this" {
  access_policy_object_ids = var.access_policy_object_ids
  cosmosdb_throughput      = var.cosmosdb_throughput
  kind                     = var.kind
  location                 = var.location
  name                     = var.name

Review your Terraform file for Azure best practices

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

Parameters

Explanation in Terraform Registry

Manages a Healthcare Service.

Azure Resource Manager Example

Azure Resource Manager code does not have the related resource.

Frequently asked questions

What is Azure Healthcare Service?

Azure Healthcare Service is a resource for Healthcare of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure Healthcare Service?

For Terraform, the BaskarMaster/Terraform and niveklabs/azurerm 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.