- Newest
- Most votes
- Most comments
Hello,
I was able to reproduce this issue and got the error "Resource handler returned message: "Error occurred during operation 'UpdateAssociation'". However, taking a look at the UpdateAssociation call in CloudTrail reveals a more detailed error message - "ValidationException: Must respecify parameters when updating automation associations to enable rate control".
The solution is to specify the rate controls namely MaxConcurrency and MaxErrors during the update. An example is below;
Resources:
RateControlAssociation:
Type: 'AWS::SSM::Association'
Properties:
Name: AWS-UpdateSSMAgent
Targets:
- Key: InstanceIds
Values:
- '*'
MaxConcurrency: 20%
MaxErrors: 5%
OutputLocation:
S3Location:
OutputS3BucketName: MyAssociationOutputBucket
OutputS3KeyPrefix: my-agent-update-output
WaitForSuccessTimeoutSeconds: 300
I recommend checking the UpdateAssociation call in CloudTrail for a more detailed error message. For troubleshooting which is specific to your case/stack, we require non-public information and request that a support case is created which you have already actioned.
Relevant content
- asked a year ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago