From d87642baba552b454ff46c74c93eae927581dfb0 Mon Sep 17 00:00:00 2001 From: Kieran Brown Date: Thu, 4 Jan 2024 10:45:49 +0000 Subject: [PATCH] chore: set codebuild compute_type as free tier instance --- modules/aft-code-repositories/codebuild.tf | 4 ++-- modules/aft-customizations/codebuild.tf | 6 +++--- modules/aft-lambda-layer/codebuild.tf | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/aft-code-repositories/codebuild.tf b/modules/aft-code-repositories/codebuild.tf index 35aa1c1f..9c654a71 100644 --- a/modules/aft-code-repositories/codebuild.tf +++ b/modules/aft-code-repositories/codebuild.tf @@ -22,7 +22,7 @@ resource "aws_codebuild_project" "account_request" { } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" @@ -78,7 +78,7 @@ resource "aws_codebuild_project" "account_provisioning_customizations_pipeline" } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" diff --git a/modules/aft-customizations/codebuild.tf b/modules/aft-customizations/codebuild.tf index 7b780349..fd43f751 100644 --- a/modules/aft-customizations/codebuild.tf +++ b/modules/aft-customizations/codebuild.tf @@ -18,7 +18,7 @@ resource "aws_codebuild_project" "aft_global_customizations_terraform" { } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" @@ -92,7 +92,7 @@ resource "aws_codebuild_project" "aft_account_customizations_terraform" { } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" @@ -165,7 +165,7 @@ resource "aws_codebuild_project" "aft_create_pipeline" { } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" diff --git a/modules/aft-lambda-layer/codebuild.tf b/modules/aft-lambda-layer/codebuild.tf index c4b0e298..e27430f5 100644 --- a/modules/aft-lambda-layer/codebuild.tf +++ b/modules/aft-lambda-layer/codebuild.tf @@ -14,7 +14,7 @@ resource "aws_codebuild_project" "codebuild" { } environment { - compute_type = "BUILD_GENERAL1_MEDIUM" + compute_type = "BUILD_GENERAL1_SMALL" image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD"