AWS CloudFormation 스택 업데이트는 이제 Nov 3 2016으로 AWS CodePipeline에 완전히 통합되었습니다. CloudFormation 사용자 가이드의 새로 추가 된 섹션 인 Continuous Delivery with AWS CodePipeline을 참조하십시오.
요약하면 CloudFormation
공급자와 함께 Deploy
작업을 CodePipeline 파이프 라인에 추가하여 지정된 CloudFormation 스택에서 작업을 수행 할 수 있습니다. AWS::CodePipeline::Pipeline
리소스를 사용하면 파이프 라인 스테이지 정의는 다음과 같이 표시됩니다.
Resources:
Pipeline:
Type: AWS::CodePipeline::Pipeline
Properties:
# [other properties...]
Stages:
# [other stages...]
- Name: Deploy
Actions:
- Name: Deploy
ActionTypeId:
Category: Deploy
Owner: AWS
Version: 1
Provider: CloudFormation
InputArtifacts:
- Name: Template
Configuration:
ActionMode: REPLACE_ON_FAILURE
RoleArn: !GetAtt [CFNRole, Arn]
StackName: !Ref AWS::StackName
TemplatePath: !Sub "Template::${StackFileName}"
Capabilities: CAPABILITY_IAM