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

use existing 128 disk size, instead of partial disks #341

Merged
merged 1 commit into from
Jan 11, 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
2 changes: 1 addition & 1 deletion modules/azurerm/sonar-base-instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {
private_ip = azurerm_linux_virtual_machine.dsf_base_instance.private_ip_address

# root volume details
root_volume_size = 100
root_volume_size = 128
root_volume_type = "Standard_LRS"
root_volume_cache = "ReadWrite"

Expand Down
4 changes: 2 additions & 2 deletions modules/azurerm/sonar-base-instance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ variable "storage_details" {
})
description = "Compute instance external volume attributes"
validation {
condition = var.storage_details.disk_size >= 150
error_message = "Disk size must be at least 150 GB"
condition = var.storage_details.disk_size >= 128
error_message = "Disk size must be at least 128 GB"
}
}

Expand Down