When starting a code build as part of a simple code pipeline, I get the following error within a few seconds.
Action execution failed
Error calling startBuild: Cannot have more than 0 builds in queue for the account (Service: AWSCodeBuild; Status Code: 400; Error Code: AccountLimitExceededException; Request ID: 80bfxxxxx
I have used the AWS Code pipeline wizard to create a simple build and deploy process, so I assume a misconfiguration did this.
My question is what is the queue it refers to? I am running this build in isolation of any other AWS task?
For information this is my buildspec.yml, though I suspect the build fails before accessing it:
version: 0.2
env:
phases:
install:
commands:
- echo Entered the install phase...
- apt-get update -y
- apt-get install -y maven
finally:
- echo This always runs even if the update or install command fails
pre_build:
commands:
- echo Entered the pre_build phase...
- cd server/harvest
finally:
- echo This always runs even if the login command fails
build:
commands:
- echo Entered the build phase...
- echo Build started on `date`
- mvn package
finally:
- echo This always runs even if the install command fails
post_build:
commands:
- echo Entered the post_build phase...
- echo Build completed on `date`
artifacts:
files:
- target/harvest-1.0-SNAPSHOT.jar
discard-paths: yes
Sounds like an account issue. This error typically means that the account you are using is not active (at least not for CodeBuild subscription), hence not allowed to start any builds in CodeBuild. Please contact AWS support to activate your account.