From 5efe44406dc05054704a8f16f36301e7cadcd205 Mon Sep 17 00:00:00 2001 From: Owen Rooney Date: Sat, 6 Apr 2024 16:30:07 +0100 Subject: [PATCH 1/2] updating deprecated docker image --- examples/complete/fixtures.us-east-2.tfvars | 2 +- variables.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/complete/fixtures.us-east-2.tfvars b/examples/complete/fixtures.us-east-2.tfvars index 2a96301..b164db5 100644 --- a/examples/complete/fixtures.us-east-2.tfvars +++ b/examples/complete/fixtures.us-east-2.tfvars @@ -86,7 +86,7 @@ repo_name = "terraform-aws-ecs-codepipeline" branch = "master" -build_image = "aws/codebuild/docker:17.09.0" +build_image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" build_compute_type = "BUILD_GENERAL1_SMALL" diff --git a/variables.tf b/variables.tf index 9b5ff3f..1ed4e87 100644 --- a/variables.tf +++ b/variables.tf @@ -43,8 +43,8 @@ variable "badge_enabled" { variable "build_image" { type = string - default = "aws/codebuild/docker:17.09.0" - description = "Docker image for build environment, _e.g._ `aws/codebuild/docker:docker:17.09.0`" + default = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + description = "Docker image for build environment, https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html" } variable "build_compute_type" { From 7efbe5995185fdf010f0bfbb6937442a0e6e6b5c Mon Sep 17 00:00:00 2001 From: Owen Rooney Date: Wed, 22 May 2024 07:02:54 +0100 Subject: [PATCH 2/2] updated reference in the example variables.tf description. --- examples/complete/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index 6f48af7..b3ffb83 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -143,7 +143,7 @@ variable "branch" { variable "build_image" { type = string - description = "Docker image for build environment, _e.g._ `aws/codebuild/docker:docker:17.09.0`" + description = "Docker image for build environment, _e.g._ `amazonlinux2-x86_64-standard:5.0`" } variable "build_compute_type" {