Skip to content

Commit

Permalink
var fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnold Beilmann committed Jul 30, 2022
1 parent 9f6e534 commit e0be30d
Showing 1 changed file with 9 additions and 34 deletions.
43 changes: 9 additions & 34 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e0be30d

Please sign in to comment.