Skip to content

Commit 584b602

Browse files
files
1 parent 28cd6ea commit 584b602

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module "postgresql_server" {
5858
administrator_password = var.administrator_password
5959

6060
delegated_subnet_id = var.delegated_subnet_id
61-
private_dns_zone_id = var.private_dns_zone_ids
61+
private_dns_zone_id = var.private_dns_zone_ids[0]
6262
public_network_access_enabled = var.public_network_access_enabled
6363

6464
high_availability = var.high_availability

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ variable "private_dns_zone_group_name" {
164164

165165
variable "private_dns_zone_ids" {
166166
description = "A list of Private DNS Zone IDs to link with the Private Endpoint."
167-
type = string
167+
type = list(string)
168168
}
169169

170170
variable "is_manual_connection" {

0 commit comments

Comments
 (0)