Skip to content

Commit

Permalink
Switch to smaller instance type
Browse files Browse the repository at this point in the history
We ran into long QUEUED times with the larger instances, and in testing
it seems like the smaller instance type isn't actually significantly
slower, and is 2x less expensive, so we should switch to it anyway.

This also bumps the build timeout to give us a bit more buffer (our
builds are currently just under 2 hours).
  • Loading branch information
Mark-Simulacrum committed Nov 25, 2024
1 parent a6db197 commit 5a0b6a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/releases/impl/promote-release.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource "aws_cloudwatch_log_group" "promote_release" {
resource "aws_codebuild_project" "promote_release" {
name = "promote-release--${var.name}"
description = "Execute the release process in the ${var.name} environment."
build_timeout = 120
build_timeout = 240
service_role = aws_iam_role.promote_release.arn

source {
Expand All @@ -49,7 +49,7 @@ resource "aws_codebuild_project" "promote_release" {
}

environment {
compute_type = "BUILD_GENERAL1_2XLARGE"
compute_type = "BUILD_GENERAL1_XLARGE"
type = "LINUX_CONTAINER"
image_pull_credentials_type = "SERVICE_ROLE"
image = var.promote_release_ecr_repo.url
Expand Down

0 comments on commit 5a0b6a0

Please sign in to comment.