Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce storage tier variable set to tier-1 by default #143

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/powervs/instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ resource "ibm_pi_instance" "pvminstance" {
pi_image_id = data.ibm_pi_image.power_images.id
pi_key_pair_name = var.ssh_key_name
pi_sys_type = var.system_type
pi_storage_type = var.storage_tier
pi_cloud_instance_id = var.powervs_service_instance_id
pi_user_data = var.user_data
# Wait for the WARNING state instead of OK state to save some time because we aren't performing any DLPAR operations
Expand Down
5 changes: 5 additions & 0 deletions data/powervs/instance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ variable "system_type" {
default = "s922"
}

variable "storage_tier" {
description = "I/O operation per second (IOPS) based storage on requirement - tier1, tier3 "
default = "tier1"
}

variable "image_name" {
description = "Name of the image from which the VM should be deployed - IBM i image name"
}
Expand Down
Loading