From 39dfb43ebccf5e8ef5d2e3d72adb76dbf3e740e0 Mon Sep 17 00:00:00 2001 From: dhutty Date: Tue, 22 Sep 2020 13:22:42 -0400 Subject: [PATCH] `aws eks describe-cluster` takes --name * Working from HEAD of main (9e91a9a) of cloudmapper. * aws-cli/2.0.50 Python/3.8.5 Darwin/19.6.0 source/x86_64 My collect step failed with: ``` ... Summary: 275 APIs called. 1 errors Failures: eks.describe_cluster({'cluster': 'example-foo'}): Parameter validation failed: Missing required parameter in input: "name" ``` which led me to: https://github.com/duo-labs/cloudmapper/issues/729 But the AWS CLI/SDK shows that `describe-cluster` takes `--name` not `--cluster`, so this PR changes the parameter we are passing. And allows `collect` to complete successfully. --- collect_commands.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect_commands.yaml b/collect_commands.yaml index b82bdd39d..0e26a842e 100644 --- a/collect_commands.yaml +++ b/collect_commands.yaml @@ -352,7 +352,7 @@ - Service: eks Request: describe-cluster Parameters: - - Name: cluster + - Name: name Value: eks-list-clusters.json|.clusters[] - Service: logs Request: describe-destinations