quickstart-amazon-eks-cluster-resource-provider icon indicating copy to clipboard operation
quickstart-amazon-eks-cluster-resource-provider copied to clipboard

Bug deploying KubernetesApiAccess changes requires logging changes

Open RobHooper opened this issue 2 years ago • 0 comments

I want to deploy new API Access users to my "EKSQS" cloudformation managed stack and it gives me the following error message:

Resource handler returned message: "InvalidParameterException: No changes needed for the logging config provided { RespMetadata: { StatusCode: 400, RequestID: "f170da48-9ee0-41db-8abc-e87cc7ed14cd" }, ClusterName: "redacted", Message_: "No changes needed for the logging config provided" }" (RequestToken: f70f2dad-85fb-f347-8500-5dcd1a8fed80, HandlerErrorCode: InvalidRequest)

I wasn't making any changes to the logging config so this message is correct however it is blocking the deployment. It also reports the same error when trying to rollback the deployment putting CloudFormation in a broken state.

I've worked around this by changing the EnabledClusterLoggingTypes and then reverting it in a second deployment but this shouldn't be needed.

RobHooper avatar Apr 19 '22 14:04 RobHooper