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
Parameters
-
access_policy_object_ids
optional - set of string -
cosmosdb_throughput
optional - number -
id
optional computed - string -
kind
optional - string -
location
required - string -
name
required - string -
resource_group_name
required - string -
tags
optional - map from string to string -
authentication_configuration
list block-
audience
optional - string -
authority
optional - string -
smart_proxy_enabled
optional - bool
-
-
cors_configuration
list block-
allow_credentials
optional - bool -
allowed_headers
optional - set of string -
allowed_methods
optional - list of string -
allowed_origins
optional - set of string -
max_age_in_seconds
optional - number
-
-
timeouts
single block
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.