Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 666ab07

Browse files
committedMar 25, 2023
Add options for log configuration
1 parent ebe72f8 commit 666ab07

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎cloud-formation/ecs.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ Resources:
7474
Image: !Ref TaskImage
7575
LogConfiguration:
7676
LogDriver: awslogs
77+
Options:
78+
awslogs-region: us-west-1
79+
awslogs-group: !Ref LogGroup
7780
Cpu: .25 vCPU
7881
ExecutionRoleArn: !Ref ExecutionRole
7982
Family: GoCapture
@@ -104,3 +107,7 @@ Resources:
104107
Properties:
105108
RouteTableId: !Ref PublicRouteTable
106109
SubnetId: !Ref PublicSubnet
110+
LogGroup:
111+
Type: AWS::Logs::LogGroup
112+
Properties:
113+
LogGroupName: GoCaptureLogs

0 commit comments

Comments
 (0)
Please sign in to comment.