File tree Expand file tree Collapse file tree
elastio-terraform-deployment/module Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ locals {
3838 disableCustomerManagedIamPolicies = var.disable_customer_managed_iam_policies
3939 disableServiceLinkedRolesCreation = var.service_linked_roles == " tf"
4040 supportRoleExpirationDate = var.support_role_expiration_date
41+ networkConfiguration = var.network_configuration,
4142 }
4243
4344 enriched_connectors = [
Original file line number Diff line number Diff line change @@ -198,3 +198,19 @@ variable "support_role_expiration_date" {
198198 type = string
199199 default = null
200200}
201+
202+ variable "network_configuration" {
203+ description = << DESCR
204+ Allow to choose between the Elastio-managed network (`Auto`)
205+ or a manually configured network (`Manual`).
206+ DESCR
207+
208+ type = string
209+ default = " Manual"
210+ nullable = false
211+
212+ validation {
213+ condition = contains ([" Auto" , " Manual" ], var. network_configuration )
214+ error_message = " network_configuration must be one of 'Auto', 'Manual'"
215+ }
216+ }
You can’t perform that action at this time.
0 commit comments