Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS describe-clusters does not include configuration #8899

Open
drewma2k opened this issue Sep 5, 2024 · 4 comments
Open

ECS describe-clusters does not include configuration #8899

drewma2k opened this issue Sep 5, 2024 · 4 comments
Assignees
Labels
bug This issue is a bug. ecs p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@drewma2k
Copy link

drewma2k commented Sep 5, 2024

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

@drewma2k drewma2k added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 5, 2024
@adev-code adev-code self-assigned this Sep 6, 2024
@adev-code adev-code added investigating This issue is being investigated and/or work is in progress to resolve the issue. ecs p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Sep 6, 2024
@adev-code
Copy link

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

@adev-code adev-code added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Sep 6, 2024
Copy link

Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Sep 16, 2024
@drewma2k
Copy link
Author

Thank you for the clarification. Is there any way to find the log group associated with an ECS service? That’s what I thought would be under the configuration section.

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Sep 18, 2024
@adev-code
Copy link

Hello @drewma2k, thanks for following up. To get the log group associated with the cluster using $ aws ecs describe-clusters --clusters <cluster_name> --include CONFIGURATIONS, you must have a cluster log configuration already set. You can use the update_cluster operation to set these configurations on an existing cluster (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ecs/client/update_cluster.html).
Please let me know if you have any questions, thanks.

@adev-code adev-code added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. ecs p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants