Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- Name: BuildLambda
Actions:
- InputArtifacts:
- Name: MyApp
Name: BuildLambdaFunctions
ActionTypeId:
Category: Build
Owner: AWS
Version: '1'
Provider: CodeBuild
OutputArtifacts:
- Name: lambdatrigger-BuildArtifact
Configuration:
ProjectName:
Ref: CodeBuildLambdaTrigger
RunOrder: 1
- Name: DeployLambda
Actions:
- InputArtifacts:
- Name: lambdatrigger-BuildArtifact
Name: DeployLambdaFunction
ActionTypeId:
Category: Deploy
Owner: AWS
Version: '1'
Provider: CloudFormation
OutputArtifacts: []
Configuration:
ActionMode: CHANGE_SET_REPLACE
ChangeSetName: pipeline-changeset
RoleArn:
Fn::GetAtt:
- CloudFormationTrustRole
- Arn
Capabilities: CAPABILITY_IAM,CAPABILITY_AUTO_EXPAND
StackName:
Fn::Join:
- ''
- - ""
- Ref: AWS::StackName
- "-"
- Ref: AWS::Region
- "-lambda"
TemplatePath: lambdatrigger-BuildArtifact::template-export.json
RunOrder: 1
- ActionTypeId:
Category: Deploy
Owner: AWS
Provider: CloudFormation
Version: "1"
Configuration:
ActionMode: CHANGE_SET_EXECUTE
ChangeSetName: pipeline-changeset
Capabilities: CAPABILITY_IAM,CAPABILITY_AUTO_EXPAND
StackName:
Fn::Join:
- ''
- - ""
- Ref: AWS::StackName
- "-"
- Ref: AWS::Region
- "-lambda"
InputArtifacts: []
Name: ExecuteLambdaFunction
OutputArtifacts: []
RunOrder: 2
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.