Skip to content

change regex security for Z12c

Andy LETELLIER requested to merge fix_regex_z12c into main

variable "security" { type = string description = "The URBASEC zone of the account (cf. https://safrangrp.pages.cloud.safran/cloudsafran/cloud/gcs-docs/products/foundations/network/FAQ/how_does_network_work/#urbasec-zones)" validation { condition = var.security != "" ? var.security == lower(var.security) : true error_message = "The subnet zone must be in lowercase." } validation { condition = var.security != "" ? can(regex("^z[0-2]?[0-9]|12c$", var.security)) : true error_message = "The subnet zone must be in format: zi (^z[0-2]?[0-9]|12c$)." } }

Merge request reports