Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CodePipeline definition for Serverless application
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
You can’t perform that action at this time.