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_idsoptional - set of string -
cosmosdb_throughputoptional - number -
idoptional computed - string -
kindoptional - string -
locationrequired - string -
namerequired - string -
resource_group_namerequired - string -
tagsoptional - map from string to string -
authentication_configurationlist block-
audienceoptional - string -
authorityoptional - string -
smart_proxy_enabledoptional - bool
-
-
cors_configurationlist block-
allow_credentialsoptional - bool -
allowed_headersoptional - set of string -
allowed_methodsoptional - list of string -
allowed_originsoptional - set of string -
max_age_in_secondsoptional - number
-
-
timeoutssingle 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.