1 個回答
- 最新
- 最多得票
- 最多評論
0
You can read this blog post that explains how to create a multi-region deployment with AWS CodePipeline.
This blog post demonstrates this CloudFormation template hosted on GitHub. Essentially, you need to specify your target region in your CodeDeploy action:
- Name: !Ref OtherRegion1 InputArtifacts: - Name: Source ActionTypeId: Category: Deploy Owner: AWS Version: '1' Provider: CloudFormation Configuration: ActionMode: CREATE_UPDATE RoleArn: !GetAtt CloudFormationServiceRole.Arn Capabilities: CAPABILITY_IAM,CAPABILITY_AUTO_EXPAND StackName: !Join - '-' - - !Ref 'AWS::StackName' - TestStack1 TemplatePath: Source::CF/MultiRegionDeployment.yml RunOrder: 6 Region: !Ref OtherRegion1
已回答 1 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前