Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATO-814: Increased desired count of ecs services and timeout for lamb… #865

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion backend/api/api.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Conditions:

Globals:
Function:
Timeout: 10
Timeout: 15
Runtime: nodejs18.x
PermissionsBoundary: !If [ UsePermissionsBoundary, !Ref PermissionsBoundary, !Ref AWS::NoValue ]
VpcConfig:
Expand Down
3 changes: 2 additions & 1 deletion infrastructure/frontend/frontend.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Conditions:
CslsLoggingEnabled: !Equals [ true, !FindInMap [ EnvironmentConfiguration, !Ref Environment, cslsLoggingEnabled ] ]
DynatraceLoggingEnabled: !Equals [ true, !FindInMap [ EnvironmentConfiguration, !Ref Environment, dynatraceLoggingEnabled ] ]
IsLocal: !Equals [ !Ref Environment, "local" ]
IsNotLocal: !Not [ !Equals [ !Ref Environment, "local" ] ]
IsProd: !Equals [ !Ref Environment, "production" ]

Resources:
Expand Down Expand Up @@ -431,7 +432,7 @@ Resources:
TaskDefinition: !Ref TaskDefinition
PropagateTags: SERVICE
LaunchType: FARGATE
DesiredCount: 1
DesiredCount: !If [ IsNotLocal, "2", "1" ]
LoadBalancers:
- ContainerName: self-service-frontend
ContainerPort: !Ref ContainerPort
Expand Down
Loading