Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 3776865

Browse files
author
vishwabmc
committed
Update variables and descriptions
Signed-off-by: vishwabmc <vishwanath@in.ibm.com>
1 parent 0afd85d commit 3776865

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

variables.tf

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,56 @@
11
# Image variables
22
variable "custom_image_name" {
3-
description = "z/OS Custom image name"
43
type = string
5-
default = "wazi-custom-image"
4+
default = "wazi-custom-image"
5+
description = "Name of the z/OS custom image that will be generated"
66
}
77

88
variable "custom_vsi"{
9+
type = bool
10+
default = false
911
description = "Builds VSI using the custom image"
10-
type = bool
11-
default = true
1212
}
1313
variable "custom_image_os" {
14+
default = "zos-2-4-s390x-dev-test-byol"
1415
description = "OS for generated image - it must match the OS uploaded to COS"
15-
default = "zos-2-4-s390x-dev-test-byol"
1616
}
1717

1818
# Target location for image
1919
variable "region" {
20-
description = "Region to run the VSI doing the conversion"
2120
type = string
22-
default = "ca-tor"
21+
default = "ca-tor"
22+
description = "Region to run the VSI doing the conversion. Custom image will be stored here"
2323
}
2424

2525
variable "zone" {
26-
description = "Zone for the VSI - data volumes will be stored here"
2726
type = string
28-
default = "1"
27+
default = "1"
28+
description = "Zone for the VSI - data volumes will be stored here"
2929
}
3030

31-
# Souce COS bucket with the CKD files
31+
# Source COS bucket with the CKD files
3232
variable "cos_bucket_region" {
33-
description = "Region of the COS instance"
3433
type = string
34+
description = "Region of the COS bucket"
3535
}
3636

3737
variable "cos_instance_name" {
38-
description = "Name of the COS instance"
3938
type = string
39+
description = "Name of the COS instance that holds the COS bucket"
4040
}
4141

4242
variable "cos_bucket_name" {
43-
description = "Name of the COS bucket"
4443
type = string
44+
description = <<-DESC
45+
Name of the COS bucket that contains the z/OS volumes archive
46+
files uploaded by on-prem Wazi Image Builder
47+
DESC
4548
}
4649

4750
variable "cos_resource_group" {
48-
description = "Resource group of the COS instance"
4951
type = string
5052
default = "Default"
53+
description = "Resource group of the COS instance"
5154
}
5255

5356
variable "cos_endpoint" {
@@ -106,8 +109,8 @@ variable "volume_purpose" {
106109
}
107110

108111
variable "cos_bucket_type" {
112+
default = "region_location"
109113
description = "bucket type"
110-
default = "region_location"
111114
}
112115

113116
# ssh private key to establish a session with data mover VSI
@@ -142,25 +145,25 @@ variable "ssh_public_key" {
142145
}
143146

144147
variable "total_ipv4_address_count" {
148+
default = 256
145149
description = "total IPs for subnetwork"
146-
default = 256
147150
}
148151

149152
variable "mover_image_name" {
150153
# Regular expresions allowed
151154
# Only Terraform 1.2 can connect to Ubuntu 22.
152155
# Ubuntu 20.04 is more widely supported
153-
description = "image used for the VSI data mover"
154156
default = ".*ubuntu.*20-04.*amd64.*"
157+
description = "image used for the VSI data mover"
155158
}
156159

157160
variable "mover_profile" {
161+
default = "bx2d-16x64"
158162
description = "image used for the VSI data mover"
159-
default = "bx2d-16x64"
160163
}
161164

162165
variable "iam_endpoint_url" {
163-
description = "IAM endpoint url"
164166
type = string
165167
default = "https://iam.cloud.ibm.com"
168+
description = "IAM endpoint url"
166169
}

0 commit comments

Comments
 (0)