Skip to content

Commit 2060660

Browse files
committed
terraform/OCI: Nit: alphabetize vars.tf
It's getting to be a large file. I find alphabetic order makes it quicker to eyeball. Reviewed-by: Luis Chamberlain <[email protected]> Reviewed-by: Chandan Babu R <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent e0ff9c9 commit 2060660

File tree

1 file changed

+44
-29
lines changed

1 file changed

+44
-29
lines changed

terraform/oci/vars.tf

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ variable "oci_ad_number" {
33
type = number
44
}
55

6+
variable "oci_assign_public_ip" {
7+
description = "Assign public IP to the instance"
8+
type = bool
9+
}
10+
611
variable "oci_compartment_name" {
712
description = "Name of compartment in which to create resources"
813
type = string
@@ -13,30 +18,20 @@ variable "oci_config_file_profile" {
1318
type = string
1419
}
1520

16-
variable "oci_region" {
17-
description = "An OCI region"
18-
type = string
19-
}
20-
21-
variable "oci_tenancy_ocid" {
22-
description = "OCID of your tenancy"
23-
type = string
24-
}
25-
26-
variable "oci_shape" {
27-
description = "Shape name"
21+
variable "oci_data_volume_device_file_name" {
22+
description = "Data volume's device file name"
2823
type = string
2924
}
3025

31-
variable "oci_instance_flex_ocpus" {
26+
variable "oci_instance_flex_memory_in_gbs" {
3227
default = null
33-
description = "The total number of OCPUs available to the instance."
28+
description = "The total amount of memory available to the instance, in gigabytes."
3429
type = number
3530
}
3631

37-
variable "oci_instance_flex_memory_in_gbs" {
32+
variable "oci_instance_flex_ocpus" {
3833
default = null
39-
description = "The total amount of memory available to the instance, in gigabytes."
34+
description = "The total number of OCPUs available to the instance."
4035
type = number
4136
}
4237

@@ -45,9 +40,19 @@ variable "oci_os_image_ocid" {
4540
type = string
4641
}
4742

48-
variable "oci_assign_public_ip" {
49-
description = "Assign public IP to the instance"
50-
type = bool
43+
variable "oci_region" {
44+
description = "An OCI region"
45+
type = string
46+
}
47+
48+
variable "oci_shape" {
49+
description = "Shape name"
50+
type = string
51+
}
52+
53+
variable "oci_sparse_volume_device_file_name" {
54+
description = "Sparse volume's device file name"
55+
type = string
5156
}
5257

5358
variable "oci_subnet_ocid" {
@@ -56,6 +61,26 @@ variable "oci_subnet_ocid" {
5661
type = string
5762
}
5863

64+
variable "oci_tenancy_ocid" {
65+
description = "OCID of your tenancy"
66+
type = string
67+
}
68+
69+
variable "oci_user_fingerprint" {
70+
description = "Fingerprint for the key pair being used"
71+
type = string
72+
}
73+
74+
variable "oci_user_ocid" {
75+
description = "OCID of the user calling the API"
76+
type = string
77+
}
78+
79+
variable "oci_user_private_key_path" {
80+
description = "The path of the private key stored on your computer"
81+
type = string
82+
}
83+
5984
variable "oci_use_existing_vcn" {
6085
description = "Use a pre-existing VCN"
6186
type = bool
@@ -70,13 +95,3 @@ variable "oci_volumes_size" {
7095
description = "The size of additional block volumes, in gibibytes"
7196
type = number
7297
}
73-
74-
variable "oci_data_volume_device_file_name" {
75-
description = "Data volume's device file name"
76-
type = string
77-
}
78-
79-
variable "oci_sparse_volume_device_file_name" {
80-
description = "Sparse volume's device file name"
81-
type = string
82-
}

0 commit comments

Comments
 (0)