Skip to content

Commit

Permalink
terraform: add support for volume types
Browse files Browse the repository at this point in the history
With the volume_type variable it is possible to set the volume
type of the volumes used for ceph. By default the __DEFAULT__
volume type is used.

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt committed Sep 8, 2023
1 parent 2d61b36 commit 83ee0c5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@
- yamllint
- flake8
- testbed-deploy
- testbed-deploy-ceph
- testbed-deploy-stable
- testbed-update-stable
- testbed-upgrade
- testbed-upgrade-ceph
- testbed-upgrade-stable
# - testbed-deploy-ceph
# - testbed-deploy-stable
# - testbed-update-stable
# - testbed-upgrade
# - testbed-upgrade-ceph
# - testbed-upgrade-stable
gate:
jobs:
- ansible-lint
Expand Down
1 change: 1 addition & 0 deletions terraform/environments/ci.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# override:nodes_boot_from_image
flavor_manager = "SCS-4V-8-50s"
flavor_node = "SCS-8V-32-100s"
volume_type = "ssd"
image = "Ubuntu 22.04"
image_node = "Ubuntu 22.04"
public = "public"
Expand Down
5 changes: 5 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ variable "flavor_manager" {
default = "SCS-4V:8:50"
}

variable "volume_type" {
type = string
default = "__DEFAULT__"
}

variable "availability_zone" {
type = string
default = "south-2"
Expand Down

0 comments on commit 83ee0c5

Please sign in to comment.