Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions service-stacks/private-subnet-public-loadbalancer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ Resources:
Image: !Ref 'ImageUrl'
PortMappings:
- ContainerPort: !Ref 'ContainerPort'
LogConfiguration:
LogDriver: awslogs
Options:
awslogs-group: !Ref 'AWS::StackName'
awslogs-region: !Ref AWS::Region
awslogs-stream-prefix: !Ref 'ServiceName'

LogGroup:
Type: AWS::Logs::LogGroup
Properties:
LogGroupName: !Ref 'AWS::StackName'
RetentionInDays: 60

# The service. The service is a resource which allows you to run multiple
# copies of a type of task, and gather up their logs and metrics, as well
Expand Down