We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e9c6b commit 8868a8aCopy full SHA for 8868a8a
modules/flavor/main.tf
@@ -1,6 +1,7 @@
1
resource "openstack_compute_flavor_v2" "flavor_1" {
2
- name = "${var.flavor_name}"
3
- ram = "${var.flavor_ram_mb}"
4
- vcpus = "${var.flavor_vcpus}"
5
- disk = "${var.flavor_local_disk_gb}"
+ name = "${var.flavor_name}"
+ ram = "${var.flavor_ram_mb}"
+ vcpus = "${var.flavor_vcpus}"
+ disk = "${var.flavor_local_disk_gb}"
6
+ is_public = "${var.flavor_is_public}"
7
}
modules/flavor/vars.tf
@@ -17,3 +17,8 @@ variable "flavor_local_disk_gb" {
17
description = "Amount of GB for local storage of the OpenStack Compute Flavor"
18
default = 0
19
20
+
21
+variable "flavor_is_public" {
22
+ description = "Flavor visibility"
23
+ default = false
24
+}
0 commit comments