Created
November 9, 2019 19:22
-
-
Save SumindaD/2453b013c09d5756b8b000a89fb06f71 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
| TaskDefinition: | |
| Type: AWS::ECS::TaskDefinition | |
| Properties: | |
| Memory: 1024 | |
| Cpu: 512 | |
| NetworkMode: awsvpc | |
| RequiresCompatibilities: | |
| - 'FARGATE' | |
| TaskRoleArn: !Ref ExecutionRole | |
| ExecutionRoleArn: !Ref ExecutionRole | |
| ContainerDefinitions: | |
| - Name: !Join ['-', [!Ref Stage, !Ref 'AWS::AccountId', 'Container']] | |
| Image: !Ref ImageURI | |
| PortMappings: | |
| - ContainerPort: !Ref ContainerPort | |
| HostPort: !Ref ContainerPort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment