From e0be30dbe145091f2ccbb2659911c1fac1d6354b Mon Sep 17 00:00:00 2001 From: Arnold Beilmann Date: Sun, 31 Jul 2022 00:00:47 +0200 Subject: [PATCH] var fixes --- variables.tf | 43 +++++++++---------------------------------- 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/variables.tf b/variables.tf index 79f54db..2065418 100644 --- a/variables.tf +++ b/variables.tf @@ -13,29 +13,11 @@ variable "prefix" { type = string } -variable "pvs_service_name" { - description = "Name of PowerVS service which will be created" - type = string - default = "power-service" -} - -variable "pvs_sshkey_name" { - description = "Name of PowerVS SSH Key which will be created" - type = string - default = "ssh-key-pvs" -} - variable "pvs_public_key" { description = "PowerVS SSH Public key data" type = string } -variable "pvs_image_names" { - description = "List of Images to be imported into cloud account from catalog images. Currently valid values: Linux-RHEL-SAP-8-1, Linux-RHEL-SAP-8-2, Linux-RHEL-SAP-8-4, Linux-SUSE-SAP-12-4, Linux-SUSE-SAP-15-2, Linux-SUSE-SAP-15-3" - type = list(string) - default = ["Linux-SUSE-SAP-15-3","Linux-RHEL-SAP-8-4"] -} - variable "pvs_management_network" { description = "PowerVS Management Subnet name and cidr which will be created." type = map @@ -60,6 +42,15 @@ variable "cloud_connection_reuse" { default = false } +variable "transit_gw_name" { + description = "Name of the existing transit gateway. Required only if new cloud connections are created." + type = string +} + +##################################################### +# Optional Parameters +##################################################### + variable "cloud_connection_count" { description = "Required number of Cloud connections. Ignore when Reusing. Maximum is 2 per location" type = string @@ -72,28 +63,12 @@ variable "cloud_connection_speed" { default = "5000" } -##################################################### -# Optional Parameters -##################################################### - variable "pvs_tags" { description = "List of Tag names for PowerVS service" type = list(string) default = null } -variable "vpc_region" { - description = "IBM Cloud VPC Region. Required when creating new connection" - type = string - default = null -} - -variable "vpc_names" { - description = "Existing VPC Names which has to be attached to Cloud connection. Required when creating new connection " - type = list - default = [] -} - variable "cloud_connection_gr" { description = "Enable global routing for this cloud connection.Can be specified when creating new connection" type = bool