Skip to content

Commit 33d4318

Browse files
committed
feat: switch runnres to non-spot fargate
1 parent daef13c commit 33d4318

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ module "setup-runners" {
135135
repo_url = var.repo_url
136136
labels = var.labels
137137
desired_count = var.desired_count
138-
timeout = var.timeout
138+
timeout = var.timeout
139139
}

runner/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ resource "aws_ecs_cluster" "this" {
7777
resource "aws_ecs_cluster_capacity_providers" "this" {
7878
cluster_name = aws_ecs_cluster.this.name
7979

80-
capacity_providers = ["FARGATE_SPOT"]
80+
capacity_providers = ["FARGATE"]
8181

8282
default_capacity_provider_strategy {
83-
capacity_provider = "FARGATE_SPOT"
83+
capacity_provider = "FARGATE"
8484
}
8585
}
8686

setup-runners/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ variable "desired_count" {
2323
}
2424

2525
variable "timeout" {
26-
type = string
26+
type = string
2727
}
2828

2929
data "aws_ecs_cluster" "this" {

0 commit comments

Comments
 (0)