From f06b030074380bc8f0825cdf7161b88ebe2106f4 Mon Sep 17 00:00:00 2001 From: Victor San Kho Lin Date: Sat, 7 Dec 2024 09:19:25 +1100 Subject: [PATCH] Portal TF: Switched Portal CodeBuild to ARM_CONTAINER aarch64 --- terraform/stacks/umccr_data_portal/cicd.tf | 8 ++++---- terraform/stacks/umccr_data_portal/data2.tf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/terraform/stacks/umccr_data_portal/cicd.tf b/terraform/stacks/umccr_data_portal/cicd.tf index 9590de55..911ed1c7 100644 --- a/terraform/stacks/umccr_data_portal/cicd.tf +++ b/terraform/stacks/umccr_data_portal/cicd.tf @@ -291,8 +291,8 @@ resource "aws_codebuild_project" "codebuild_client" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/standard:7.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux-aarch64-standard:3.0" + type = "ARM_CONTAINER" environment_variable { name = "STAGE" @@ -375,8 +375,8 @@ resource "aws_codebuild_project" "codebuild_apis" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/standard:7.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux-aarch64-standard:3.0" + type = "ARM_CONTAINER" privileged_mode = true environment_variable { diff --git a/terraform/stacks/umccr_data_portal/data2.tf b/terraform/stacks/umccr_data_portal/data2.tf index 17d08b4f..94fcf047 100644 --- a/terraform/stacks/umccr_data_portal/data2.tf +++ b/terraform/stacks/umccr_data_portal/data2.tf @@ -267,8 +267,8 @@ resource "aws_codebuild_project" "codebuild_data2" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/standard:7.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux-aarch64-standard:3.0" + type = "ARM_CONTAINER" environment_variable { name = "STAGE"