-
Notifications
You must be signed in to change notification settings - Fork 38
Updated Instance type prompt with GPU info for GCP Cloud #618
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
base: next_gen
Are you sure you want to change the base?
Conversation
Signed-off-by: Haresh-Kumar-K-J <[email protected]>
Signed-off-by: HareshKumarkj <[email protected]>
@sasikeda please review the PR. |
@@ -161,6 +163,7 @@ module "storage_cluster_tie_breaker_instance" { | |||
boot_disk_size = var.storage_cluster_boot_disk_size | |||
boot_disk_type = var.storage_cluster_boot_disk_type | |||
boot_image = var.storage_cluster_image_ref | |||
is_gpu_instance = var.is_gpu_enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In storage profile, gpu instances are not required. GPU instances are limited only to compute. But it is okay to keep, no harm
@@ -91,6 +91,7 @@ module "compute_cluster_instances" { | |||
boot_disk_size = var.compute_cluster_boot_disk_size | |||
boot_disk_type = var.compute_cluster_boot_disk_type | |||
boot_image = var.compute_cluster_image_ref | |||
is_gpu_instance = var.is_gpu_enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kindly check if this datasource has problems. we can reach to support to see if it does not work.
https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/compute_machine_types#nested_accelerators
@@ -93,6 +95,13 @@ resource "google_compute_instance" "itself" { | |||
lifecycle { | |||
ignore_changes = all | |||
} | |||
|
|||
dynamic "scheduling" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use below to simplify
condition ? true_val : false_val
No description provided.