Created
November 1, 2019 16:26
-
-
Save SumindaD/f5f90e2219ba3dcafa53651b7f77a568 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
- Name: Deploy | |
Actions: | |
- Name: Deploy | |
ActionTypeId: | |
Category: Deploy | |
Owner: AWS | |
Version: 1 | |
Provider: CloudFormation | |
InputArtifacts: | |
- Name: source-output-artifacts | |
- Name: build-output-artifacts | |
Configuration: | |
ActionMode: CREATE_UPDATE | |
Capabilities: CAPABILITY_NAMED_IAM | |
# Pass parameter values to Fargate-Cluster.yml for deployment | |
ParameterOverrides: !Sub | | |
{ | |
"ImageURI" : { "Fn::GetParam" : ["build-output-artifacts", "imageDetail.json", "ImageURI"] }, | |
"Stage": "${Stage}", | |
"ContainerPort": "${ContainerPort}" | |
} | |
RoleArn: | |
Fn::GetAtt: [ CloudformationExecutionRole, Arn ] | |
StackName: !Join ['-', [!Ref Stage, !Ref 'AWS::AccountId', 'FargateECSCluster']] | |
TemplatePath: source-output-artifacts::Cloudformation/Fargate-Cluster.yml | |
RunOrder: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment