From a19d2781659c449fe69d9388687058613d8a1322 Mon Sep 17 00:00:00 2001 From: G-Lenz Date: Mon, 18 Mar 2024 12:26:42 -0400 Subject: [PATCH] Release v6.2.6 --- CHANGELOG.md | 10 ++++ deployment/quota-monitor-hub-no-ou.template | 54 ++++++++--------- deployment/quota-monitor-hub.template | 58 +++++++++---------- .../quota-monitor-prerequisite.template | 26 ++++----- deployment/quota-monitor-sq-spoke.template | 34 +++++------ deployment/quota-monitor-ta-spoke.template | 20 +++---- package-lock.json | 4 +- package.json | 2 +- solution-manifest.yaml | 2 +- .../services/cwPoller/package-lock.json | 4 +- source/lambda/services/cwPoller/package.json | 2 +- .../deploymentManager/package-lock.json | 4 +- .../services/deploymentManager/package.json | 2 +- .../lambda/services/helper/package-lock.json | 4 +- source/lambda/services/helper/package.json | 2 +- .../services/preReqManager/package-lock.json | 4 +- .../services/preReqManager/package.json | 2 +- .../quotaListManager/package-lock.json | 4 +- .../services/quotaListManager/package.json | 2 +- .../services/reporter/lib/limit-report.ts | 2 +- .../services/reporter/package-lock.json | 4 +- source/lambda/services/reporter/package.json | 2 +- .../services/slackNotifier/package-lock.json | 4 +- .../services/slackNotifier/package.json | 2 +- .../services/snsPublisher/package-lock.json | 4 +- .../lambda/services/snsPublisher/package.json | 2 +- .../services/taRefresher/package-lock.json | 4 +- .../lambda/services/taRefresher/package.json | 2 +- source/lambda/utilsLayer/lib/servicequotas.ts | 5 +- source/lambda/utilsLayer/lib/services.ts | 18 ------ source/lambda/utilsLayer/package-lock.json | 4 +- source/lambda/utilsLayer/package.json | 2 +- source/resources/lib/sq-spoke.stack.ts | 4 +- source/resources/package-lock.json | 4 +- source/resources/package.json | 2 +- 35 files changed, 150 insertions(+), 155 deletions(-) delete mode 100644 source/lambda/utilsLayer/lib/services.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 63f8e64..d17d4b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.2.6] - 2024-03-18 + +### Changed +- First of month schedule for quotaListManager Lambda function changed to every 30 days +- Add rate limiting delay between listServiceQuota API calls +- Add page size to Service Quotas API calls + +### Fixed +- GitHub Issue [#183](https://github.com/aws-solutions/quota-monitor-for-aws/issues/183), PR [#147](https://github.com/aws-solutions/quota-monitor-for-aws/pull/47) - fix expiration of DynamoDB records + ## [6.2.5] - 2024-01-08 ### Changed diff --git a/deployment/quota-monitor-hub-no-ou.template b/deployment/quota-monitor-hub-no-ou.template index a61c1ea..40102ec 100644 --- a/deployment/quota-monitor-hub-no-ou.template +++ b/deployment/quota-monitor-hub-no-ou.template @@ -1,5 +1,5 @@ { - "Description": "(SO0005-NoOU) - quota-monitor-for-aws - Hub Template, use it when you are not using AWS Organizations. Version v6.2.5", + "Description": "(SO0005-NoOU) - quota-monitor-for-aws - Hub Template, use it when you are not using AWS Organizations. Version v6.2.6", "AWSTemplateFormatVersion": "2010-09-09", "Metadata": { "AWS::CloudFormation::Interface": { @@ -426,13 +426,13 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip" }, "LayerName": "QM-UtilsLayer" }, "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-UtilsLayer/QM-UtilsLayer-Layer/Resource", - "aws:asset:path": "asset.90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip", + "aws:asset:path": "asset.5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Content" } @@ -738,7 +738,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assetf2c6e605f22592fcc985ad62b95593dd02d4c149deac6c7c38ea72cfb8756beb.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset67377473f60463c7d96405e09c60149f1ccfec5fb5130689ffb3c7b488d38515.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -762,8 +762,8 @@ "Ref": "QMNotificationMutingConfig3B7948BA" }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -795,7 +795,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-SlackNotifier/QM-SlackNotifier-Lambda/Resource", - "aws:asset:path": "asset.f2c6e605f22592fcc985ad62b95593dd02d4c149deac6c7c38ea72cfb8756beb.zip", + "aws:asset:path": "asset.67377473f60463c7d96405e09c60149f1ccfec5fb5130689ffb3c7b488d38515.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -1132,7 +1132,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7dac5276230632b2b20bf125ff358e7d449a5eb4648e0e0098e844371a8f2c4b.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset2b3d38d52c3c405d4b6cd2233c3720068386a2bfdc3cd9c54df0ff7d31df5648.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -1152,8 +1152,8 @@ "Ref": "QMSNSPublisherQMSNSPublisherSNSTopic7EE2EBF4" }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -1185,7 +1185,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-SNSPublisherFunction/QM-SNSPublisherFunction-Lambda/Resource", - "aws:asset:path": "asset.7dac5276230632b2b20bf125ff358e7d449a5eb4648e0e0098e844371a8f2c4b.zip", + "aws:asset:path": "asset.2b3d38d52c3c405d4b6cd2233c3720068386a2bfdc3cd9c54df0ff7d31df5648.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -1653,7 +1653,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset56adba44bf3ab47aad7d67fe1f7e026d8bc064d1911d89470d85313a989868e3.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/assetb0eda0f156f67f1a9cb3c45ebc372ccba5a93fcecaefe26ea7ae9bab00c3e710.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -1675,8 +1675,8 @@ "MAX_MESSAGES": "10", "MAX_LOOPS": "10", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -1708,7 +1708,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-Reporter/QM-Reporter-Lambda/Resource", - "aws:asset:path": "asset.56adba44bf3ab47aad7d67fe1f7e026d8bc064d1911d89470d85313a989868e3.zip", + "aws:asset:path": "asset.b0eda0f156f67f1a9cb3c45ebc372ccba5a93fcecaefe26ea7ae9bab00c3e710.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -2049,7 +2049,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assete0e3a44ace746485095001715ebce6053703e0b40abe2b2bd8a76f70e3c6c910.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset9ff2d7f8cf335efe52c3371f4bd624b6cdda5e5e47166f34aae107fd4a4efd52.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -2076,8 +2076,8 @@ }, "DEPLOYMENT_MODEL": "Accounts", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -2109,7 +2109,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-Deployment-Manager/QM-Deployment-Manager-Lambda/Resource", - "aws:asset:path": "asset.e0e3a44ace746485095001715ebce6053703e0b40abe2b2bd8a76f70e3c6c910.zip", + "aws:asset:path": "asset.9ff2d7f8cf335efe52c3371f4bd624b6cdda5e5e47166f34aae107fd4a4efd52.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -2200,7 +2200,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assetfae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip" }, "Description": "SO0005 quota-monitor-for-aws - QM-Helper-Function", "Environment": { @@ -2221,8 +2221,8 @@ }, "QM_STACK_ID": "quota-monitor-hub-no-ou", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -2247,7 +2247,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub-no-ou/QM-Helper/QM-Helper-Function/Resource", - "aws:asset:path": "asset.fae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip", + "aws:asset:path": "asset.3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -2399,7 +2399,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" }, "Description": "AWS CDK resource provider framework - onEvent (quota-monitor-hub-no-ou/QM-Helper/QM-Helper-Provider)", "Environment": { @@ -2509,7 +2509,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-NoOU", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { @@ -2522,7 +2522,7 @@ "Attributes": { "solutionID": "SO0005-NoOU", "solutionName": "quota-monitor-for-aws", - "version": "v6.2.5", + "version": "v6.2.6", "applicationType": "AWS-Solutions" }, "Description": "Attribute group for application information", @@ -2544,7 +2544,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-NoOU", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { diff --git a/deployment/quota-monitor-hub.template b/deployment/quota-monitor-hub.template index 008c088..c3c5ffc 100644 --- a/deployment/quota-monitor-hub.template +++ b/deployment/quota-monitor-hub.template @@ -1,5 +1,5 @@ { - "Description": "(SO0005) - quota-monitor-for-aws - Hub Template. Version v6.2.5", + "Description": "(SO0005) - quota-monitor-for-aws - Hub Template. Version v6.2.6", "AWSTemplateFormatVersion": "2010-09-09", "Metadata": { "AWS::CloudFormation::Interface": { @@ -599,13 +599,13 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip" }, "LayerName": "QM-UtilsLayer" }, "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-UtilsLayer/QM-UtilsLayer-Layer/Resource", - "aws:asset:path": "asset.90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip", + "aws:asset:path": "asset.5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Content" } @@ -667,7 +667,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assetfae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip" }, "Description": "SO0005 quota-monitor-for-aws - QM-Helper-Function", "Environment": { @@ -698,8 +698,8 @@ ] }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -724,7 +724,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-Helper/QM-Helper-Function/Resource", - "aws:asset:path": "asset.fae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip", + "aws:asset:path": "asset.3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -876,7 +876,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" }, "Description": "AWS CDK resource provider framework - onEvent (quota-monitor-hub/QM-Helper/QM-Helper-Provider)", "Environment": { @@ -1265,7 +1265,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assetf2c6e605f22592fcc985ad62b95593dd02d4c149deac6c7c38ea72cfb8756beb.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset67377473f60463c7d96405e09c60149f1ccfec5fb5130689ffb3c7b488d38515.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -1289,8 +1289,8 @@ "Ref": "QMNotificationMutingConfig3B7948BA" }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -1322,7 +1322,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-SlackNotifier/QM-SlackNotifier-Lambda/Resource", - "aws:asset:path": "asset.f2c6e605f22592fcc985ad62b95593dd02d4c149deac6c7c38ea72cfb8756beb.zip", + "aws:asset:path": "asset.67377473f60463c7d96405e09c60149f1ccfec5fb5130689ffb3c7b488d38515.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -1659,7 +1659,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7dac5276230632b2b20bf125ff358e7d449a5eb4648e0e0098e844371a8f2c4b.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset2b3d38d52c3c405d4b6cd2233c3720068386a2bfdc3cd9c54df0ff7d31df5648.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -1699,8 +1699,8 @@ "Ref": "QMSNSPublisherQMSNSPublisherSNSTopic7EE2EBF4" }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -1732,7 +1732,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-SNSPublisherFunction/QM-SNSPublisherFunction-Lambda/Resource", - "aws:asset:path": "asset.7dac5276230632b2b20bf125ff358e7d449a5eb4648e0e0098e844371a8f2c4b.zip", + "aws:asset:path": "asset.2b3d38d52c3c405d4b6cd2233c3720068386a2bfdc3cd9c54df0ff7d31df5648.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -2200,7 +2200,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset56adba44bf3ab47aad7d67fe1f7e026d8bc064d1911d89470d85313a989868e3.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/assetb0eda0f156f67f1a9cb3c45ebc372ccba5a93fcecaefe26ea7ae9bab00c3e710.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -2222,8 +2222,8 @@ "MAX_MESSAGES": "10", "MAX_LOOPS": "10", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -2255,7 +2255,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-Reporter/QM-Reporter-Lambda/Resource", - "aws:asset:path": "asset.56adba44bf3ab47aad7d67fe1f7e026d8bc064d1911d89470d85313a989868e3.zip", + "aws:asset:path": "asset.b0eda0f156f67f1a9cb3c45ebc372ccba5a93fcecaefe26ea7ae9bab00c3e710.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -2318,7 +2318,7 @@ "PermissionModel": "SERVICE_MANAGED", "StackSetName": "QM-TA-Spoke-StackSet", "TemplateURL": { - "Fn::Sub": "https://solutions-${AWS::Region}.s3.${AWS::Region}.amazonaws.com/quota-monitor-for-aws/v6.2.5/quota-monitor-ta-spoke.template" + "Fn::Sub": "https://solutions-${AWS::Region}.s3.${AWS::Region}.amazonaws.com/quota-monitor-for-aws/v6.2.6/quota-monitor-ta-spoke.template" } }, "Metadata": { @@ -2354,7 +2354,7 @@ "PermissionModel": "SERVICE_MANAGED", "StackSetName": "QM-SQ-Spoke-StackSet", "TemplateURL": { - "Fn::Sub": "https://solutions-${AWS::Region}.s3.${AWS::Region}.amazonaws.com/quota-monitor-for-aws/v6.2.5/quota-monitor-sq-spoke.template" + "Fn::Sub": "https://solutions-${AWS::Region}.s3.${AWS::Region}.amazonaws.com/quota-monitor-for-aws/v6.2.6/quota-monitor-sq-spoke.template" } }, "Metadata": { @@ -2924,7 +2924,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assete0e3a44ace746485095001715ebce6053703e0b40abe2b2bd8a76f70e3c6c910.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset9ff2d7f8cf335efe52c3371f4bd624b6cdda5e5e47166f34aae107fd4a4efd52.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -3020,8 +3020,8 @@ ] }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -3053,7 +3053,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-hub/QM-Deployment-Manager/QM-Deployment-Manager-Lambda/Resource", - "aws:asset:path": "asset.e0e3a44ace746485095001715ebce6053703e0b40abe2b2bd8a76f70e3c6c910.zip", + "aws:asset:path": "asset.9ff2d7f8cf335efe52c3371f4bd624b6cdda5e5e47166f34aae107fd4a4efd52.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -3109,7 +3109,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { @@ -3122,7 +3122,7 @@ "Attributes": { "solutionID": "SO0005", "solutionName": "quota-monitor-for-aws", - "version": "v6.2.5", + "version": "v6.2.6", "applicationType": "AWS-Solutions" }, "Description": "Attribute group for application information", @@ -3144,7 +3144,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { diff --git a/deployment/quota-monitor-prerequisite.template b/deployment/quota-monitor-prerequisite.template index 8798091..9e05bae 100644 --- a/deployment/quota-monitor-prerequisite.template +++ b/deployment/quota-monitor-prerequisite.template @@ -1,5 +1,5 @@ { - "Description": "(SO0005-PreReq) - quota-monitor-for-aws - Prerequisite Template. Version v6.2.5", + "Description": "(SO0005-PreReq) - quota-monitor-for-aws - Prerequisite Template. Version v6.2.6", "AWSTemplateFormatVersion": "2010-09-09", "Metadata": { "AWS::CloudFormation::Interface": { @@ -46,13 +46,13 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip" }, "LayerName": "QM-UtilsLayer" }, "Metadata": { "aws:cdk:path": "quota-monitor-prerequisite/QM-UtilsLayer/QM-UtilsLayer-Layer/Resource", - "aws:asset:path": "asset.90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip", + "aws:asset:path": "asset.5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Content" } @@ -114,7 +114,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/assetfae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip" }, "Description": "SO0005 quota-monitor-for-aws - QM-Helper-Function", "Environment": { @@ -135,8 +135,8 @@ }, "QM_STACK_ID": "quota-monitor-prerequisite", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -161,7 +161,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-prerequisite/QM-Helper/QM-Helper-Function/Resource", - "aws:asset:path": "asset.fae3bab643538d15155957e464e453c9551262bdb56801526a511f0b62fc2974.zip", + "aws:asset:path": "asset.3e295e81ff03dbd69187be26b11643e4df77b2d70e0de0362aa721120da4218c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -313,7 +313,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" }, "Description": "AWS CDK resource provider framework - onEvent (quota-monitor-prerequisite/QM-Helper/QM-Helper-Provider)", "Environment": { @@ -503,7 +503,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset2e12eff89645f02d2b00c9d9625fcb84eea3fb0387be248c241ece7fd13f8bb8.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset9442a50f94ec185a42cbe491f5625c2ea1e479c3a38cd68475447841daa4bb0b.zip" }, "Description": "SO0005 quota-monitor-for-aws - QM-PreReqManager-Function", "Environment": { @@ -523,8 +523,8 @@ ] }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -550,7 +550,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-prerequisite/QM-PreReqManager/QM-PreReqManager-Function/Resource", - "aws:asset:path": "asset.2e12eff89645f02d2b00c9d9625fcb84eea3fb0387be248c241ece7fd13f8bb8.zip", + "aws:asset:path": "asset.9442a50f94ec185a42cbe491f5625c2ea1e479c3a38cd68475447841daa4bb0b.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -702,7 +702,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" }, "Description": "AWS CDK resource provider framework - onEvent (quota-monitor-prerequisite/QM-PreReqManager/QM-PreReqManager-Provider)", "Environment": { diff --git a/deployment/quota-monitor-sq-spoke.template b/deployment/quota-monitor-sq-spoke.template index 2f63df1..a8158ed 100644 --- a/deployment/quota-monitor-sq-spoke.template +++ b/deployment/quota-monitor-sq-spoke.template @@ -1,5 +1,5 @@ { - "Description": "(SO0005-SQ) - quota-monitor-for-aws - Service Quotas Template. Version v6.2.5", + "Description": "(SO0005-SQ) - quota-monitor-for-aws - Service Quotas Template. Version v6.2.6", "AWSTemplateFormatVersion": "2010-09-09", "Metadata": { "AWS::CloudFormation::Interface": { @@ -89,13 +89,13 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip" }, "LayerName": "QM-UtilsLayer-quota-monitor-sq-spoke" }, "Metadata": { "aws:cdk:path": "quota-monitor-sq-spoke/QM-UtilsLayer-quota-monitor-sq-spoke/QM-UtilsLayer-quota-monitor-sq-spoke-Layer/Resource", - "aws:asset:path": "asset.90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip", + "aws:asset:path": "asset.5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Content" } @@ -323,7 +323,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset0d57d5254d1018a1dad08f6ec3c5c29b1d4de30d6b230a4cc7e4ac12aa0d759e.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset34b1d5c4fd90ccdba0fb383e1ac4aa0ebe62f56737e711d08e2fd9ba40fc49e6.zip" }, "Description": "SO0005 quota-monitor-for-aws - QM-ListManager-Function", "Environment": { @@ -337,8 +337,8 @@ "PARTITION_KEY": "ServiceCode", "SORT": "QuotaCode", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -364,7 +364,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-sq-spoke/QM-ListManager/QM-ListManager-Function/Resource", - "aws:asset:path": "asset.0d57d5254d1018a1dad08f6ec3c5c29b1d4de30d6b230a4cc7e4ac12aa0d759e.zip", + "aws:asset:path": "asset.34b1d5c4fd90ccdba0fb383e1ac4aa0ebe62f56737e711d08e2fd9ba40fc49e6.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -535,7 +535,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset7382a0addb9f34974a1ea6c6c9b063882af874828f366f5c93b2b7b64db15c94.zip" }, "Description": "AWS CDK resource provider framework - onEvent (quota-monitor-sq-spoke/QM-ListManager/QM-ListManager-Provider)", "Environment": { @@ -594,7 +594,7 @@ "Arn" ] }, - "VERSION": "v6.2.5" + "VERSION": "v6.2.6" }, "DependsOn": [ "QMUtilizationErr3AEC9915", @@ -611,7 +611,7 @@ "Type": "AWS::Events::Rule", "Properties": { "Description": "SO0005 quota-monitor-for-aws - quota-monitor-sq-spoke-EventsRule", - "ScheduleExpression": "cron(0 0 1 * ? *)", + "ScheduleExpression": "rate(30 days)", "State": "ENABLED", "Targets": [ { @@ -894,7 +894,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset09dfd5166dc243530d624581d84f345a5ba8c79c24edbe318ced75e06a6d27ff.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset8147e478a5d6aa505a19c8e2935db8f3225d75395a5684e6ab85ffc14627d81a.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -926,8 +926,8 @@ "Ref": "ReportOKNotifications" }, "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -953,7 +953,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-sq-spoke/QM-CWPoller/QM-CWPoller-Lambda/Resource", - "aws:asset:path": "asset.09dfd5166dc243530d624581d84f345a5ba8c79c24edbe318ced75e06a6d27ff.zip", + "aws:asset:path": "asset.8147e478a5d6aa505a19c8e2935db8f3225d75395a5684e6ab85ffc14627d81a.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -1282,7 +1282,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-SQ", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { @@ -1295,7 +1295,7 @@ "Attributes": { "solutionID": "SO0005-SQ", "solutionName": "quota-monitor-for-aws", - "version": "v6.2.5", + "version": "v6.2.6", "applicationType": "AWS-Solutions" }, "Description": "Attribute group for application information", @@ -1317,7 +1317,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-SQ", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { diff --git a/deployment/quota-monitor-ta-spoke.template b/deployment/quota-monitor-ta-spoke.template index 019afe4..49fedf1 100644 --- a/deployment/quota-monitor-ta-spoke.template +++ b/deployment/quota-monitor-ta-spoke.template @@ -1,5 +1,5 @@ { - "Description": "(SO0005-TA) - quota-monitor-for-aws - Trusted Advisor Template. Version v6.2.5", + "Description": "(SO0005-TA) - quota-monitor-for-aws - Trusted Advisor Template. Version v6.2.6", "AWSTemplateFormatVersion": "2010-09-09", "Metadata": { "AWS::CloudFormation::Interface": { @@ -355,13 +355,13 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip" }, "LayerName": "QM-UtilsLayer" }, "Metadata": { "aws:cdk:path": "quota-monitor-ta-spoke/QM-UtilsLayer/QM-UtilsLayer-Layer/Resource", - "aws:asset:path": "asset.90be44fcd0215ead494c5a4d6a0ad06e2c6f25dd049ca3142f704a8f811eb001.zip", + "aws:asset:path": "asset.5d480eb7c2c2531638e536a9194e31181a2c3588c125a6bcb5354eaa1985241c.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Content" } @@ -578,7 +578,7 @@ "S3Bucket": { "Fn::Sub": "solutions-${AWS::Region}" }, - "S3Key": "quota-monitor-for-aws/v6.2.5/asset73b9021bb16c7f193238b55131821079b4334f786193da36386ed67ebfd06f0a.zip" + "S3Key": "quota-monitor-for-aws/v6.2.6/asset57062c5910cedcba4b59ee4ae5a3b8ed706b08b520a154983efaecb565412269.zip" }, "DeadLetterConfig": { "TargetArn": { @@ -593,8 +593,8 @@ "Variables": { "AWS_SERVICES": "AutoScaling,CloudFormation,DynamoDB,EBS,EC2,ELB,IAM,Kinesis,RDS,Route53,SES,VPC", "LOG_LEVEL": "info", - "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.5", - "VERSION": "v6.2.5", + "CUSTOM_SDK_USER_AGENT": "AwsSolution/SO0005/v6.2.6", + "VERSION": "v6.2.6", "SOLUTION_ID": "SO0005" } }, @@ -620,7 +620,7 @@ ], "Metadata": { "aws:cdk:path": "quota-monitor-ta-spoke/QM-TA-Refresher/QM-TA-Refresher-Lambda/Resource", - "aws:asset:path": "asset.73b9021bb16c7f193238b55131821079b4334f786193da36386ed67ebfd06f0a.zip", + "aws:asset:path": "asset.57062c5910cedcba4b59ee4ae5a3b8ed706b08b520a154983efaecb565412269.zip", "aws:asset:is-bundled": false, "aws:asset:property": "Code", "cdk_nag": { @@ -676,7 +676,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-TA", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { @@ -689,7 +689,7 @@ "Attributes": { "solutionID": "SO0005-TA", "solutionName": "quota-monitor-for-aws", - "version": "v6.2.5", + "version": "v6.2.6", "applicationType": "AWS-Solutions" }, "Description": "Attribute group for application information", @@ -711,7 +711,7 @@ "ApplicationType": "AWS-Solutions", "SolutionID": "SO0005-TA", "SolutionName": "quota-monitor-for-aws", - "SolutionVersion": "v6.2.5" + "SolutionVersion": "v6.2.6" } }, "Metadata": { diff --git a/package-lock.json b/package-lock.json index 02c9eaa..43889f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor-for-aws", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor-for-aws", - "version": "6.2.5", + "version": "6.2.6", "license": "Apache-2.0", "devDependencies": { "@types/uuid": "^9.0.0", diff --git a/package.json b/package.json index 6dd82fc..9b4af25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quota-monitor-for-aws", - "version": "6.2.5", + "version": "6.2.6", "description": "Quota Monitor for AWS", "author": "aws-solutions", "license": "Apache-2.0", diff --git a/solution-manifest.yaml b/solution-manifest.yaml index b47aeb0..a5ea68f 100644 --- a/solution-manifest.yaml +++ b/solution-manifest.yaml @@ -1,7 +1,7 @@ --- id: SO0005 name: quota-monitor-for-aws -version: v6.2.4 +version: v6.2.6 cloudformation_templates: - template: quota-monitor-hub.template main_template: true diff --git a/source/lambda/services/cwPoller/package-lock.json b/source/lambda/services/cwPoller/package-lock.json index 4e7c47b..9e51e33 100644 --- a/source/lambda/services/cwPoller/package-lock.json +++ b/source/lambda/services/cwPoller/package-lock.json @@ -1,12 +1,12 @@ { "name": "cw-poller", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cw-poller", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/cwPoller/package.json b/source/lambda/services/cwPoller/package.json index 8158d60..791b3f3 100644 --- a/source/lambda/services/cwPoller/package.json +++ b/source/lambda/services/cwPoller/package.json @@ -1,6 +1,6 @@ { "name": "cw-poller", - "version": "6.2.5", + "version": "6.2.6", "description": "microservice to poll for utilization metrics", "author": { "name": "Amazon Web Services", diff --git a/source/lambda/services/deploymentManager/package-lock.json b/source/lambda/services/deploymentManager/package-lock.json index fa57966..b669f8c 100644 --- a/source/lambda/services/deploymentManager/package-lock.json +++ b/source/lambda/services/deploymentManager/package-lock.json @@ -1,12 +1,12 @@ { "name": "deployment-manager", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "deployment-manager", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "devDependencies": { diff --git a/source/lambda/services/deploymentManager/package.json b/source/lambda/services/deploymentManager/package.json index 1709d1b..e04772b 100644 --- a/source/lambda/services/deploymentManager/package.json +++ b/source/lambda/services/deploymentManager/package.json @@ -1,6 +1,6 @@ { "name": "deployment-manager", - "version": "6.2.5", + "version": "6.2.6", "description": "microservice to manage event bridge permission and stackset deployments", "main": "./index.js", "author": { diff --git a/source/lambda/services/helper/package-lock.json b/source/lambda/services/helper/package-lock.json index 0400710..ac4953a 100644 --- a/source/lambda/services/helper/package-lock.json +++ b/source/lambda/services/helper/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor-helper", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor-helper", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/helper/package.json b/source/lambda/services/helper/package.json index 4137b0a..9da964b 100644 --- a/source/lambda/services/helper/package.json +++ b/source/lambda/services/helper/package.json @@ -1,6 +1,6 @@ { "name": "quota-monitor-helper", - "version": "6.2.5", + "version": "6.2.6", "description": "microservice with helper modules for quota monitor solution", "author": { "name": "Amazon Web Services", diff --git a/source/lambda/services/preReqManager/package-lock.json b/source/lambda/services/preReqManager/package-lock.json index 37c11fc..ba7923b 100644 --- a/source/lambda/services/preReqManager/package-lock.json +++ b/source/lambda/services/preReqManager/package-lock.json @@ -1,12 +1,12 @@ { "name": "pre-req-manager", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pre-req-manager", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/preReqManager/package.json b/source/lambda/services/preReqManager/package.json index 8a50bdd..3e85b92 100644 --- a/source/lambda/services/preReqManager/package.json +++ b/source/lambda/services/preReqManager/package.json @@ -1,6 +1,6 @@ { "name": "pre-req-manager", - "version": "6.2.5", + "version": "6.2.6", "description": "microservice to validate pre-requisites for using quota monitor", "main": "./index.js", "author": { diff --git a/source/lambda/services/quotaListManager/package-lock.json b/source/lambda/services/quotaListManager/package-lock.json index a4aa1ac..1c1c6ec 100644 --- a/source/lambda/services/quotaListManager/package-lock.json +++ b/source/lambda/services/quotaListManager/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-list-manager", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-list-manager", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/quotaListManager/package.json b/source/lambda/services/quotaListManager/package.json index 414513e..caf2948 100644 --- a/source/lambda/services/quotaListManager/package.json +++ b/source/lambda/services/quotaListManager/package.json @@ -1,6 +1,6 @@ { "name": "quota-list-manager", - "version": "6.2.5", + "version": "6.2.6", "description": "microservice to manage quota list to monitor", "main": "./index.js", "author": { diff --git a/source/lambda/services/reporter/lib/limit-report.ts b/source/lambda/services/reporter/lib/limit-report.ts index ed1b1d7..4a72520 100644 --- a/source/lambda/services/reporter/lib/limit-report.ts +++ b/source/lambda/services/reporter/lib/limit-report.ts @@ -80,7 +80,7 @@ export class LimitReport { usageMessage.detail["check-item-detail"]["Current Usage"] ?? "0", LimitAmount: usageMessage.detail["check-item-detail"]["Limit Amount"], Status: usageMessage.detail["status"], - ExpiryTime: (new Date().getTime() + 15 * 24 * 3600 * 1000).toString(), //1️⃣5️⃣ days + ExpiryTime: Math.floor((new Date().getTime() + 15 * 24 * 3600 * 1000) / 1000), //1️⃣5️⃣ days }; logger.debug({ diff --git a/source/lambda/services/reporter/package-lock.json b/source/lambda/services/reporter/package-lock.json index 324b8d7..9d97472 100644 --- a/source/lambda/services/reporter/package-lock.json +++ b/source/lambda/services/reporter/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-reporter", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-reporter", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/reporter/package.json b/source/lambda/services/reporter/package.json index ffcff51..6a836eb 100644 --- a/source/lambda/services/reporter/package.json +++ b/source/lambda/services/reporter/package.json @@ -7,7 +7,7 @@ "url": "https://aws.amazon.com/solutions" }, "license": "Apache-2.0", - "version": "6.2.5", + "version": "6.2.6", "private": "true", "dependencies": { "@aws-sdk/client-sqs": "^3.110.0" diff --git a/source/lambda/services/slackNotifier/package-lock.json b/source/lambda/services/slackNotifier/package-lock.json index c92ff4d..be52ed7 100644 --- a/source/lambda/services/slackNotifier/package-lock.json +++ b/source/lambda/services/slackNotifier/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor-notifier", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor-notifier", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/slackNotifier/package.json b/source/lambda/services/slackNotifier/package.json index 88763ff..4d320dc 100644 --- a/source/lambda/services/slackNotifier/package.json +++ b/source/lambda/services/slackNotifier/package.json @@ -7,7 +7,7 @@ "url": "https://aws.amazon.com/solutions" }, "license": "Apache-2.0", - "version": "6.2.5", + "version": "6.2.6", "private": "true", "dependencies": { "@aws-sdk/client-ssm": "^3.110.0", diff --git a/source/lambda/services/snsPublisher/package-lock.json b/source/lambda/services/snsPublisher/package-lock.json index f201cb1..2632191 100644 --- a/source/lambda/services/snsPublisher/package-lock.json +++ b/source/lambda/services/snsPublisher/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor-sns-publisher", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor-sns-publisher", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/services/snsPublisher/package.json b/source/lambda/services/snsPublisher/package.json index 9eae000..8d6acd8 100644 --- a/source/lambda/services/snsPublisher/package.json +++ b/source/lambda/services/snsPublisher/package.json @@ -7,7 +7,7 @@ "url": "https://aws.amazon.com/solutions" }, "license": "Apache-2.0", - "version": "6.2.5", + "version": "6.2.6", "private": "true", "dependencies": { "@aws-sdk/client-ssm": "^3.110.0" diff --git a/source/lambda/services/taRefresher/package-lock.json b/source/lambda/services/taRefresher/package-lock.json index 24d247c..6a90e11 100644 --- a/source/lambda/services/taRefresher/package-lock.json +++ b/source/lambda/services/taRefresher/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor-refresher", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor-refresher", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "devDependencies": { diff --git a/source/lambda/services/taRefresher/package.json b/source/lambda/services/taRefresher/package.json index 81f09a3..6afde8f 100644 --- a/source/lambda/services/taRefresher/package.json +++ b/source/lambda/services/taRefresher/package.json @@ -7,7 +7,7 @@ "url": "https://aws.amazon.com/solutions" }, "license": "Apache-2.0", - "version": "6.2.5", + "version": "6.2.6", "private": "true", "devDependencies": { "@types/jest": "^29.5.11", diff --git a/source/lambda/utilsLayer/lib/servicequotas.ts b/source/lambda/utilsLayer/lib/servicequotas.ts index 56b474b..7ff2f50 100644 --- a/source/lambda/utilsLayer/lib/servicequotas.ts +++ b/source/lambda/utilsLayer/lib/servicequotas.ts @@ -18,7 +18,7 @@ import { catchDecorator } from "./catch"; import { UnsupportedQuotaException, } from "./error"; -import { ServiceHelper } from "./exports"; +import { ServiceHelper, sleep } from "./exports"; import { logger } from "./logger"; /** @@ -54,6 +54,7 @@ export class ServiceQuotasHelper extends ServiceHelper { const paginator = paginateListServices( { client: this.client, + pageSize: 100, }, {} ); @@ -81,6 +82,7 @@ export class ServiceQuotasHelper extends ServiceHelper { const paginator = paginateListServiceQuotas( { client: this.client, + pageSize: 100, }, { ServiceCode: serviceCode } ); @@ -94,6 +96,7 @@ export class ServiceQuotasHelper extends ServiceHelper { ) ); } + await sleep(1000); } logger.debug({ diff --git a/source/lambda/utilsLayer/lib/services.ts b/source/lambda/utilsLayer/lib/services.ts deleted file mode 100644 index 020d015..0000000 --- a/source/lambda/utilsLayer/lib/services.ts +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -// SPDX-License-Identifier: Apache-2.0 - -/** - * @description service codes - */ -export enum SQ_SERVICE_CODES { - CLOUDWATCH = "monitoring", - DYNAMODB = "dynamodb", - EC2 = "ec2", - ECR = "ecr", - FIREHOSE = "firehose", -} - -/** - * @description supported services for service quotas monitoring - */ -export const SUPPORTED_SERVICES = Object.values(SQ_SERVICE_CODES); diff --git a/source/lambda/utilsLayer/package-lock.json b/source/lambda/utilsLayer/package-lock.json index 098b87a..f70ac69 100644 --- a/source/lambda/utilsLayer/package-lock.json +++ b/source/lambda/utilsLayer/package-lock.json @@ -1,12 +1,12 @@ { "name": "utils-layer", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "utils-layer", - "version": "6.2.5", + "version": "6.2.6", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/source/lambda/utilsLayer/package.json b/source/lambda/utilsLayer/package.json index 90c985a..1a65754 100644 --- a/source/lambda/utilsLayer/package.json +++ b/source/lambda/utilsLayer/package.json @@ -1,6 +1,6 @@ { "name": "utils-layer", - "version": "6.2.5", + "version": "6.2.6", "description": "utils layer for aws-solutions", "author": { "name": "Amazon Web Services", diff --git a/source/resources/lib/sq-spoke.stack.ts b/source/resources/lib/sq-spoke.stack.ts index 20ed9c8..1959caa 100644 --- a/source/resources/lib/sq-spoke.stack.ts +++ b/source/resources/lib/sq-spoke.stack.ts @@ -249,7 +249,7 @@ export class QuotaMonitorSQSpoke extends Stack { }); quotaListManager.function.addEventSource(eventSourceMapping); - // cron schdedule to trigger lambda + // Schedule to trigger lambda const quotaListManagerScheduleRule = new events.Rule( this, `QM-ListManagerSchedule`, @@ -257,7 +257,7 @@ export class QuotaMonitorSQSpoke extends Stack { description: `${this.node.tryGetContext( "SOLUTION_ID" )} ${this.node.tryGetContext("SOLUTION_NAME")} - ${id}-EventsRule`, - schedule: events.Schedule.cron({ minute: "0", hour: "0", day: "1" }), // every 1st of the month at 00:00 UTC + schedule: events.Schedule.rate(Duration.days(30)), } ); quotaListManagerScheduleRule.addTarget( diff --git a/source/resources/package-lock.json b/source/resources/package-lock.json index 0bc3e1f..398cf8d 100644 --- a/source/resources/package-lock.json +++ b/source/resources/package-lock.json @@ -1,12 +1,12 @@ { "name": "quota-monitor", - "version": "6.2.5", + "version": "6.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "quota-monitor", - "version": "6.2.5", + "version": "6.2.6", "license": "Apache-2.0", "devDependencies": { "@aws-cdk/aws-servicecatalogappregistry-alpha": "^2.117.0-alpha.0", diff --git a/source/resources/package.json b/source/resources/package.json index 183feb7..8517d7e 100755 --- a/source/resources/package.json +++ b/source/resources/package.json @@ -1,6 +1,6 @@ { "name": "quota-monitor", - "version": "6.2.5", + "version": "6.2.6", "description": "cdk resources to provision needed infrastructure", "author": { "name": "Amazon Web Services",