Closed oliveirafilipe closed 4 years ago
I've reproduced what you are seeing, and I'm considering it as a bug unless I learn otherwise. I'll see what we can do to improve the UX and completion here.
Please try Get-ECSService -Cluster foo-cluster -Service bar-service | ConvertTo-Json -Depth 100
Hi @klaytaybai, sorry for the delay I will try it by monday, and give a response.
Anyway, I think that I just misunderstood the usage of this command. Thank for your help
Please try
Get-ECSService -Cluster foo-cluster -Service bar-service | ConvertTo-Json -Depth 100
Hi @klaytaybai just tested and it works fine :rocket:
Sorry for the misunderstanding, I guess that the issue can be closed now. Thank you for your help.
Hi Everyone, I'm facing some issue while trying to use Get-ECSTaskDetail. I will try to explain better:
Expected Behavior
I expect to receive a complete detail of the services passed as parameter to the command. Just like i can get in AWS CLI
aws ecs describe-services --cluster foo-cluster --services bar-service
Current Behavior Just the Service Name is Returned, as show:
Possible Solution
N/A
Steps to Reproduce (for bugs)
docker run -it mcr.microsoft.com/powershell@sha256:a896a35c8f4d833d446786188945f42a75dccd2b63789458f6779d7979a4515f
Install-Module -Name AWS.Tools.ECS
Set-AWSCredentials -AccessKey MyKey -SecretKey MySecret -StoreAs myAWScredentials
Set-AWSCredentials -StoredCredentials myAWScredentials
Set-DefaultAWSRegion us-east-1
Get-ECSService -Cluster foo-cluster -Service bar-service
Context
I Expect to use this command Inside Octopus. Inspired by this tutorial. But for now I'm just testing in my computer using docker
Your Environment
Docker Image:
mcr.microsoft.com/powershell@sha256:a896a35c8f4d833d446786188945f42a75dccd2b63789458f6779d7979a4515f
My Host OS:
My Docker:
Docker version 18.09.1, build 4c52b90