aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.34k stars 4.09k forks source link

ECS describe-clusters does not include configuration #8899

Open drewma2k opened 1 week ago

drewma2k commented 1 week ago

Describe the bug

aws ecs describe-clusters --clusters <cluster> --include CONFIGURATIONS does not include configuration information

Expected Behavior

The configuration key to be provided in the output as per awscli ecs docs

Current Behavior

The configuration key is not included

Reproduction Steps

aws ecs describe-clusters --clusters <cluster> --include CONFIGURATIONS

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.17.44 Python/3.11.8 Darwin/23.6.0 source/arm64

Environment details (OS name and version, etc.)

MacOS Sonoma 14.6.1

adev-code commented 1 week ago

Hey drewma2k@, “--include CONFIGURATIONS” would only give outputs if you have certain configurations with the ECS Cluster such as KMS, logging and storage KMS configuration as per API doc [1]. The CLI doc for "describe-clusters" [2] could have also included and clarified the configurations as what is described on the API DescribeClusters doc.

To make the docs better, you could "Provide Feedback" at the bottom of the docs page [1]. Also, I have raised an internal ticket to our docs team for improvement and clarification. Please let me know if you have any follow up questions.

Thank you

[1] https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeClusters.html [2] https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/describe-clusters.html

P153329689