#----------------------------------------------------------------------------------------------------- # AWS Transit Gateway | ---> Enables the deployment of a transit gateway in the specified region #----------------------------------------------------------------------------------------------------- variable "transit_gateway_deployment" { default = true validation { condition = (var.transit_gateway_deployment == false || var.transit_gateway_deployment == true) error_message = "Transit Gateway deployment must be either true or false." } } variable "transit_gateway_peering_enabled" { default = true validation { condition = (var.transit_gateway_peering_enabled == false || var.transit_gateway_peering_enabled == true) error_message = "Transit Gateway Peering enabled must be either true or false." } } #----------------------------------------------------------------------------------------------------- # AWS Transit Gateway | ---> Transit Gateway Configuration Parameter #----------------------------------------------------------------------------------------------------- variable "peer_account_id" {} variable "peer_region" {} variable "peer_transit_gateway_id" {} variable "transit_gateway_id" {} #----------------------------------------------------------------------------------------------------- # Variables that makes up the AWS Tags assigned to the VPC on creation. # --------------------------------------------------------------------------------------------------------------- variable "Application_ID" { description = "The Application ID of the application that will be hosted inside this Amazon VPC." type = string default = "0000000" } variable "Application_Name" { description = "The name of the application. Max 10 characters. Allowed characters [0-9A-Za-z]." type = string default = "fsf-spoke-vpc" } variable "Business_Unit" { description = "The business unit or line of business to which this application belongs." type = string default = "Commercial Banking (CB)" } variable "Environment_Type" { description = "The applications environment type. Possible values: LAB, SandBox, DEV, UAT, PROD." type = string default = "PRODUCTION" validation { condition = (var.Environment_Type == "PRODUCTION") error_message = "External Principals should not be allowed unless in the case of a merger." } } variable "Supported_Networks" { description = "The applications environment type. Possible values: LAB, SandBox, DEV, UAT, PROD." type = string default = "Spoke_VPCs_Under_This_Organization" validation { condition = (var.Supported_Networks == "Spoke_VPCs_Under_This_Organization") error_message = "External Principals should not be allowed unless in the case of a merger." } } variable "CostCenterCode" { description = "CSI Billing Profile Number associated with application to be hosted in this vpc." type = string default = "CB-0000000" } variable "CreatedBy" { description = "CSI Billing Profile Number associated with application to be hosted in this vpc." type = string default = "Androski_Spicer" } variable "Manager" { description = "CSI Billing Profile Number associated with application to be hosted in this vpc." type = string default = "KenJackson" }