Skip to content

Commit

Permalink
Bump default codebuild image (#33)
Browse files Browse the repository at this point in the history
* Use codebuild_image variable for deploy lambda codebuild
* Change default codebuild_image to "aws/codebuild/standard:7.0"
  • Loading branch information
bchinpp authored Aug 12, 2024
1 parent 24fccce commit c20c856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lambda_function/ci.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "aws_codebuild_project" "lambda" {

environment {
compute_type = "BUILD_GENERAL1_SMALL"
image = "aws/codebuild/standard:4.0"
image = var.codebuild_image
type = "LINUX_CONTAINER"
image_pull_credentials_type = "CODEBUILD"
environment_variable {
Expand Down
2 changes: 1 addition & 1 deletion lambda_function/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ variable "github_url" {

variable "codebuild_image" {
type = string
default = "aws/codebuild/standard:4.0"
default = "aws/codebuild/standard:7.0"
}

variable "privileged_mode" {
Expand Down

0 comments on commit c20c856

Please sign in to comment.