Created
July 20, 2017 14:15
-
-
Save PaulDuvall/8bf8af19eed89bf3b9a71fd3b4644041 to your computer and use it in GitHub Desktop.
CodeBuild Project definition in CloudFormation highlighting BuildSpec Source property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CodeBuildWebsite: | |
Type: AWS::CodeBuild::Project | |
DependsOn: CodeBuildRole | |
Properties: | |
Name: | |
Ref: AWS::StackName | |
Description: Build application | |
ServiceRole: | |
Fn::GetAtt: | |
- CodeBuildRole | |
- Arn | |
Artifacts: | |
Type: no_artifacts | |
Environment: | |
EnvironmentVariables: | |
- Name: S3_BUCKET | |
Value: | |
Ref: ArtifactBucket | |
Type: LINUX_CONTAINER | |
ComputeType: BUILD_GENERAL1_SMALL | |
Image: aws/codebuild/eb-nodejs-4.4.6-amazonlinux-64:2.1.3 | |
Source: | |
BuildSpec: buildspec-test.yml | |
Location: | |
Fn::Join: | |
- '' | |
- - https://git-codecommit. | |
- Ref: AWS::Region | |
- ".amazonaws.com/v1/repos/" | |
- Ref: AWS::StackName | |
Type: CODECOMMIT | |
TimeoutInMinutes: 10 | |
Tags: | |
- Key: Owner | |
Value: MyCodeBuildProject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment