Please tell me how to resolve the MaxNumberOfDeliveryChannelsExceededException that occurs when deploying Workload Discovery on AWS
The issue
I am setting up a Workload Discovery on AWS environment to understand the configuration of my current AWS environment.
When I deployed the CloudFormation template from the documentation with default settings, the following error occurred.
Service: AmazonConfig; Status Code: 400; Error Code: MaxNumberOfDeliveryChannelsExceededException; Request ID: xxx; Proxy: null
Please tell me the cause and solution for the above error.
The solution
Please change the AlreadyHaveConfigSetup value to Yes when deploying the CloudFormation stack.
Launch the stack - Workload Discovery on AWS
Parameter Default Description AlreadyHaveConfigSetup No Confirmation of whether or not you already have AWS Config set up in the deployment account. For details, refer to Prerequisites.
When an AWS Config recorder already exists in the target region, a MaxNumberOfConfigurationRecordersExceededException error occurs.
Troubleshoot AWS Config MaxNumberOfConfigurationRecordersExceededException errors | AWS re:Post
The MaxNumberOfConfigurationRecordersExceededException error indicates that you can't create a new configuration recorder because one is already present on your account for the Region.
In the Workload Discovery on AWS CloudFormation template parameters, the default value for AlreadyHaveConfigSetup is set to No, which means it is configured to create an AWS Config recorder.
Therefore, when an AWS Config recorder already exists in the target region, you can avoid the creation of a recorder by Workload Discovery on AWS by changing the AlreadyHaveConfigSetup value to Yes.







