Skip to content

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

Open
wants to merge 3 commits into
base: next_gen
Choose a base branch
from

Conversation

HareshKumarkj
Copy link

No description provided.

@HareshKumarkj HareshKumarkj marked this pull request as ready for review June 27, 2025 06:10
@HareshKumarkj
Copy link
Author

@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
Copy link
Member

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
Copy link
Member

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" {
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants