Skip to content

Instantly share code, notes, and snippets.

@PaulDuvall
Last active February 13, 2020 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulDuvall/6727f6afd367f578f55ce337cf31bcb6 to your computer and use it in GitHub Desktop.
Save PaulDuvall/6727f6afd367f578f55ce337cf31bcb6 to your computer and use it in GitHub Desktop.
CodeBuildLambdaTrigger:
Type: AWS::CodeBuild::Project
Properties:
Name:
Fn::Join:
- ''
- - Run
- "CodePipeline"
- 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/amazonlinux2-x86_64-standard:1.0"
Source:
BuildSpec: ceoa-3-buildspec-lambda.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