Created
June 15, 2020 15:11
-
-
Save PaulDuvall/8009c9f93c5e53c90ef7aa7591626038 to your computer and use it in GitHub Desktop.
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
CodeBuildCommands: | |
Type: AWS::CodeBuild::Project | |
DependsOn: CodeBuildRole | |
Properties: | |
Name: | |
Ref: AWS::StackName | |
Description: Build application | |
ServiceRole: | |
Fn::GetAtt: | |
- CodeBuildRole | |
- Arn | |
Artifacts: | |
Type: NO_ARTIFACTS | |
Environment: | |
Type: LINUX_CONTAINER | |
ComputeType: BUILD_GENERAL1_SMALL | |
Image: "aws/codebuild/amazonlinux2-x86_64-standard:1.0" | |
EnvironmentVariables: | |
- Name: S3_BUCKET | |
Type: PLAINTEXT | |
Value: | |
Fn::Sub: ${SiteBucket} | |
- Name: SAM_STACK_NAME | |
Type: PLAINTEXT | |
Value: | |
Fn::Sub: ${AWS::StackName}-${AWS::Region} | |
Source: | |
BuildSpec: buildspec.yml | |
Location: !Sub https://github.com/${GitHubUser}/${GitHubRepo}/ | |
Type: GITHUB | |
TimeoutInMinutes: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment