Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 2.51 KB

File metadata and controls

65 lines (57 loc) · 2.51 KB

Variables

variable "config" {  type = list(object({
    # private endpoint
    name                = string
    resource_group_name = string
    location            = string
    subnet_id           = string
    resource_id         = string # Custom variable replacing private_connection_resource_id parameter
    private_service_connection = list(object({
      name                              = string
      is_manual_connection              = bool
      private_connection_resource_id    = optional(string) # Do not use, is replaced by resource_id parameter
      private_connection_resource_alias = optional(string)
      subresource_names                 = optional(list(string))
      request_message                   = optional(string)
    }))
    custom_network_interface_name = optional(string)
    private_dns_zone_group = optional(object({
      name                 = string
      private_dns_zone_ids = list(string)
    }))
    ip_configuration = optional(list(object({
      name               = string
      private_ip_address = string
      subresource_name   = string
      member_name        = optional(string)
    })), [])
    tags = optional(map(any))
  }))
}


Table with config variables

Name Data Type Requirement Default Value Comment
name string Required
resource_group_name string Required
location string Required
subnet_id string Required
resource_id string Required Custom variable replacing private_connection_resource_id parameter
private_service_connection list(object) Required
 name string Required
 is_manual_connection bool Required
 private_connection_resource_id string Optional Do not use, is replaced by resource_id parameter
 private_connection_resource_alias string Optional
 subresource_names list(string) Optional
 request_message string Optional
custom_network_interface_name string Optional
private_dns_zone_group object Optional
 name string Required
 private_dns_zone_ids list(string) Required
ip_configuration list(object) Optional []
 name string Required
 private_ip_address string Required
 subresource_name string Required
 member_name string Optional
tags map(any) Optional