aws / aws-codebuild-docker-images

Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
Other
1.11k stars 973 forks source link

terraform: Exec format error in "aws/codebuild/standard:7.0" #643

Closed dil-rmishra closed 1 year ago

dil-rmishra commented 1 year ago

Describe the bug We have been using "aws/codebuild/standard:7.0" and nodejs: 18 as runtime in the buildspec. But suddenly we started getting the error

/bin/sh: 1: terraform: Exec format error
ERROR (plugins.TerraformPlugin): Command failed: terraform -v 

The timeline seems to be aligned with your latest changes . Can you please have a look at it asap ?

To Reproduce With the above configuration try installing terraform part of buildspec commands.

Expected behavior A clear and concise description of what you expected to happen.

Logs If applicable, add log output to help explain your problem.

Platform (please complete the following information):

Additional context Add any other context about the problem here.

subinataws commented 1 year ago

Which AWS Region are you using? Are you able to open a support case with AWS? That way you can share the buildARN and the team can look into it. Alternatively, you may email that to codebuild-feedback@amazon.com

srbhaski commented 1 year ago

I am also getting the same error. I am using us-west-2 region.