File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ module "postgresql_server" {
58
58
administrator_password = var. administrator_password
59
59
60
60
delegated_subnet_id = var. delegated_subnet_id
61
- private_dns_zone_id = var. private_dns_zone_ids [ 0 ]
61
+ private_dns_zone_id = var. private_dns_zone_ids
62
62
public_network_access_enabled = var. public_network_access_enabled
63
63
64
64
high_availability = var. high_availability
@@ -121,8 +121,7 @@ module "private_endpoint" {
121
121
subresource_names = var. subresource_names
122
122
request_message = var. request_message
123
123
tags = local. private_endpoint_tags
124
- private_service_connection_name = local. private_service_connection_name
125
- # private_service_connection_name = module.resource_names["private_service_connection"].standard
124
+ private_service_connection_name = module. resource_names [" private_service_connection" ]. standard
126
125
# resource_name = module.resource_names["private_endpoint"].standard
127
126
128
127
# Do NOT set private_connection_resource_alias at all
Original file line number Diff line number Diff line change @@ -164,8 +164,7 @@ variable "private_dns_zone_group_name" {
164
164
165
165
variable "private_dns_zone_ids" {
166
166
description = " A list of Private DNS Zone IDs to link with the Private Endpoint."
167
- type = list (string )
168
- default = []
167
+ type = string
169
168
}
170
169
171
170
variable "is_manual_connection" {
You can’t perform that action at this time.
0 commit comments