Last active
June 26, 2020 16:38
-
-
Save PaulDuvall/5cafe4e80aa8bdc598be581a87c5b875 to your computer and use it in GitHub Desktop.
CodePipeline definition for Serverless application
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
Pipeline: | |
Type: AWS::CodePipeline::Pipeline | |
Properties: | |
RoleArn: !GetAtt CodePipelineRole.Arn | |
Stages: | |
- Name: Source | |
... | |
ActionTypeId: | |
Category: Source | |
Owner: ThirdParty | |
Version: '1' | |
Provider: GitHub | |
... | |
RunOrder: 1 | |
- Name: Build | |
... | |
Name: PackageSAM | |
ActionTypeId: | |
Category: Build | |
Owner: AWS | |
Version: '1' | |
Provider: CodeBuild | |
... | |
Configuration: | |
ProjectName: | |
Ref: CodeBuildGetFunction | |
RunOrder: 1 | |
- Name: Deploy | |
... | |
- InputArtifacts: | |
- Name: Lambda-Get-Artifact | |
Name: GenerateChangeSet | |
ActionTypeId: | |
Category: Deploy | |
Owner: AWS | |
Version: '1' | |
Provider: CloudFormation | |
... | |
ActionMode: CHANGE_SET_REPLACE | |
ChangeSetName: pipeline-changeset | |
... | |
TemplatePath: Lambda-Get-Artifact::template-export-get.json | |
RunOrder: 1 | |
- ActionTypeId: | |
Category: Deploy | |
Owner: AWS | |
Provider: CloudFormation | |
Version: "1" | |
Configuration: | |
ActionMode: CHANGE_SET_EXECUTE | |
ChangeSetName: pipeline-changeset | |
StackName: !Sub ${AWS::StackName}-${AWS::Region} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment