terraform-aws-ecs-codepipeline
terraform-aws-ecs-codepipeline copied to clipboard
updating deprecated docker image
what
updating the default docker image as it is deprecated. https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
why
Module was throwing an error for privileged mode invalid input even when the tfvars is passing in a valid boolean. │ Error: creating CodeBuild project: InvalidInputException: PrivilegedMode has to be set for projects with AWS CodeBuild Docker curated images. │ │ with module.ecs-codepipeline.module.codebuild.aws_codebuild_project.default[0], │ on .terraform\modules\ecs-codepipeline.codebuild\main.tf line 356, in resource "aws_codebuild_project" "default": │ 356: resource "aws_codebuild_project" "default" {
This has been tested locally and updated image no longer throws the error.