Skip to content

Commit 39eff86

Browse files
committed
Add timeout parameter to AWS service usage runbook and SLI files
1 parent ca9be89 commit 39eff86

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

codebundles/aws-c7n-service-usage/runbook.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ List AWS Service Usage Exceeding defined threshold in AWS Account ${AWS_ACCOUNT_
2020
... ${CURDIR}/service-usage.j2
2121
... usage_percent=${USAGE_PERCENTAGE}
2222
... resource_providers=${AWS_RESOURCE_PROVIDERS}
23+
... timeout_seconds=120
2324
${c7n_output}= RW.CLI.Run Cli
2425
... cmd=custodian run -r ${AWS_REGION} --output-dir ${OUTPUT_DIR}/aws-c7n-service-usage ${CURDIR}/service-usage.yaml --cache-period 0
2526
... secret__aws_access_key_id=${AWS_ACCESS_KEY_ID}

codebundles/aws-c7n-service-usage/sli.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Check for AWS Service Usage Exceeding defined threshold in AWS Account `${AWS_AC
2020
... ${CURDIR}/service-usage.j2
2121
... usage_percent=${USAGE_PERCENTAGE}
2222
... resource_providers=${AWS_RESOURCE_PROVIDERS}
23+
... timeout_seconds=120
2324
${c7n_output}= RW.CLI.Run Cli
2425
... cmd=custodian run -r ${AWS_REGION} --output-dir ${OUTPUT_DIR}/aws-c7n-service-usage ${CURDIR}/service-usage.yaml --cache-period 0
2526
... secret__aws_access_key_id=${AWS_ACCESS_KEY_ID}

0 commit comments

Comments
 (0)