Skip to content

Commit 60c038b

Browse files
authored
Merge pull request #1278 from DeterminateSystems/grahamc-patch-1
Stack: support configurable log retention days.
2 parents 2e34b02 + 67798fb commit 60c038b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/aws-stack.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Metadata:
4949
- BuildkiteWindowsAdministrator
5050
- BuildkiteAgentScalerServerlessARN
5151
- BuildkiteAgentScalerVersion
52+
- LogRetentionDays
5253

5354
- Label:
5455
default: Network Configuration
@@ -187,6 +188,11 @@ Parameters:
187188
Type: String
188189
Default: "1.7.0"
189190

191+
LogRetentionDays:
192+
Type: Number
193+
Description: The number of days to retain the Cloudwatch Logs of the lambda.
194+
Default: "1"
195+
190196
BuildkiteAgentTracingBackend:
191197
Description: The tracing backend to use for CI tracing. See https://buildkite.com/docs/agent/v3/tracing
192198
Type: String
@@ -1444,3 +1450,4 @@ Resources:
14441450
ScaleOutForWaitingJobs: !Ref ScaleOutForWaitingJobs
14451451
EventSchedulePeriod: !Ref ScalerEventSchedulePeriod
14461452
MinPollInterval: !Ref ScalerMinPollInterval
1453+
LogRetentionDays: !Ref LogRetentionDays

0 commit comments

Comments
 (0)