The Atlassian default build environment Docker image for Bitbucket Pipelines plus the AWS Command Line Interface (CLI)
The Atlassian default build environment Docker image for Bitbucket Pipelines plus the AWS Command Line Interface (CLI).
atlassian/default-image:1.70
Simply use this image in your ‘bitbucket-pipelines.yml’ file:
image: fuinorg/atlassian-default-image-awscli:latest
pipelines:
default:
- step:
script:
- aws codebuild start-build --project-name "<your-project-name>"
Above configuration is an example on how to start an AWS CodeBuild using the Bitbucket pipeline.
Be aware that you need to provide the secret environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION via Bitbucket’s pipeline settings.