From 3aa7e43d43bcb50c513d1d4dc8e6d0fde2cfd074 Mon Sep 17 00:00:00 2001 From: Alex Strick van Linschoten Date: Tue, 28 Nov 2023 10:22:24 +0100 Subject: [PATCH] fix skypilot output flavor names (#114) --- src/mlstacks/terraform/aws-modular/output_file.tf | 4 ++-- src/mlstacks/terraform/gcp-modular/output_file.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mlstacks/terraform/aws-modular/output_file.tf b/src/mlstacks/terraform/aws-modular/output_file.tf index 9c628896..381da617 100644 --- a/src/mlstacks/terraform/aws-modular/output_file.tf +++ b/src/mlstacks/terraform/aws-modular/output_file.tf @@ -29,7 +29,7 @@ resource "local_file" "stack_file" { %{endif} orchestrator: -%{if var.enable_orchestrator_kubeflow} +%{if var.enable_orchestrator_kubeflow} id: ${uuid()} flavor: kubeflow name: eks_kubeflow_orchestrator @@ -43,7 +43,7 @@ resource "local_file" "stack_file" { %{else} %{if var.enable_orchestrator_skypilot} id: ${uuid()} - flavor: vm-aws + flavor: vm_aws name: aws_skypilot_orchestrator configuration: {} %{else} diff --git a/src/mlstacks/terraform/gcp-modular/output_file.tf b/src/mlstacks/terraform/gcp-modular/output_file.tf index 086f7bb5..2a86d029 100644 --- a/src/mlstacks/terraform/gcp-modular/output_file.tf +++ b/src/mlstacks/terraform/gcp-modular/output_file.tf @@ -49,7 +49,7 @@ resource "local_file" "stack_file" { %{else} %{if var.enable_orchestrator_skypilot} id: ${uuid()} - flavor: vm-gcp + flavor: vm_gcp name: gcp_skypilot_orchestrator configuration: {"project_id": "${var.project_id}"} %{else}