Skip to content

Commit 29bcdf5

Browse files
Lingling PengLingling Peng
authored andcommitted
try use a different source for ocean aws k8s; remove temporary patch
1 parent 7e80f4c commit 29bcdf5

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ locals {
22
git_revision = var.git_revision
33
}
44
module "sage-aws-eks-autoscaler" {
5-
count = var.enable_autoscaler ? 1 : 0
65
source = "spacelift.io/sagebionetworks/sage-aws-eks-autoscaler/aws"
76
version = "0.9.0"
87
cluster_name = var.cluster_name

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,4 @@ variable "docker_access_token" {
118118
description = "The access token to use for docker authenticated pulls. Created via by setting 'TF_VAR_docker_access_token' within spacelift as an environment variable"
119119
type = string
120120
default = ""
121-
}
122-
123-
variable "enable_autoscaler" {
124-
type = bool
125-
default = true
126-
}
121+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ resource "helm_release" "ocean-kubernetes-controller" {
104104
}
105105

106106
module "ocean-aws-k8s" {
107-
source = "spotinst/ocean-aws-k8s/spotinst"
107+
source = "git::https://github.com/spotinst/terraform-spotinst-ocean-aws-k8s.git?ref=7a30a60b4d0af3a7847467ac373511f3da58e40a"
108108
version = "1.4.0"
109109

110110
# Configuration

0 commit comments

Comments
 (0)