File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ module "postgresql_server" {
75
75
administrator_password = var. administrator_password
76
76
77
77
delegated_subnet_id = var. delegated_subnet_id
78
- private_dns_zone_id = var. private_dns_zone_ids [ 0 ]
78
+ private_dns_zone_id = var. private_dns_zone_id
79
79
public_network_access_enabled = var. public_network_access_enabled
80
80
81
81
high_availability = var. high_availability
@@ -132,7 +132,7 @@ module "private_endpoint" {
132
132
region = var. location
133
133
subnet_id = var. subnet_id
134
134
private_dns_zone_group_name = var. private_dns_zone_group_name
135
- private_dns_zone_id = var. private_dns_zone_ids [0 ]
135
+ private_dns_zone_ids = var. private_dns_zone_ids [0 ]
136
136
is_manual_connection = var. is_manual_connection
137
137
private_connection_resource_id = module. postgresql_server . id
138
138
subresource_names = var. subresource_names
Original file line number Diff line number Diff line change @@ -168,6 +168,12 @@ variable "private_dns_zone_ids" {
168
168
default = []
169
169
}
170
170
171
+ variable "private_dns_zone_id" {
172
+ description = " The ID of the private DNS zone. Required when `delegated_subnet_id` is set"
173
+ type = string
174
+ default = null
175
+ }
176
+
171
177
variable "is_manual_connection" {
172
178
description = << EOT
173
179
Does the Private Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource
You can’t perform that action at this time.
0 commit comments