Skip to content

Commit b07620f

Browse files
authored
[DPE-1423] Swap ocean-aws-k8s module to support provided commit (#72)
* Swap to the new published module for ocean
1 parent 1b4edbe commit b07620f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

deployments/stacks/dpe-k8s-deployments/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ locals {
22
git_revision = var.git_revision
33
}
44
module "sage-aws-eks-autoscaler" {
5-
source = "spacelift.io/sagebionetworks/sage-aws-eks-autoscaler/aws"
6-
version = "0.9.0"
5+
source = "../../../modules/sage-aws-k8s-node-autoscaler"
76
cluster_name = var.cluster_name
87
private_vpc_subnet_ids = var.private_subnet_ids_eks_worker_nodes
98
vpc_id = var.vpc_id

modules/sage-aws-k8s-node-autoscaler/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ resource "helm_release" "ocean-kubernetes-controller" {
106106

107107
module "ocean-aws-k8s" {
108108
source = "spotinst/ocean-aws-k8s/spotinst"
109-
version = "1.4.0"
109+
version = "1.11.0"
110110

111111
# Configuration
112112
cluster_name = var.cluster_name
@@ -148,3 +148,4 @@ module "ocean-aws-k8s" {
148148
virtualization_types = null
149149
}
150150
}
151+

modules/sage-aws-k8s-node-autoscaler/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ terraform {
99
version = "~> 2.0"
1010
}
1111
spotinst = {
12-
source = "spotinst/spotinst"
13-
version = "1.172.0" # Specify the version you wish to use
12+
source = "opentofu/spotinst"
13+
version = "1.225.0" # Specify the version you wish to use
1414
}
1515
helm = {
1616
source = "hashicorp/helm"

0 commit comments

Comments
 (0)