Closed makotonakai closed 1 year ago
Hi @makotonakai thanks for reaching out. I tried to reproduce this error but was not able to. It looks like the command you provided is slightly different than what is shown in your logs. Do you have any updates as far as what you have tried in the last few days? Here is the command documentation for reference: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/update-service.html.
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.
FYI it's possible to get here through search engines and there is no further information - so if you do find more information to what mistake you made / if there's a solution / etc. it would be of help here!
AWS is big enough it's fine to not know everything ahead of time 😄
FYI it's possible to get here through search engines and there is no further information - so if you do find more information to what mistake you made / if there's a solution / etc. it would be of help here!
AWS is big enough it's fine to not know everything ahead of time 😄
Maybe this will help someone:
I ran into the same error message (An error occurred (InvalidParameterException) when calling the DescribeTasks operation: Unsupported resource type: cluster
) when the bash variable used for the --cluster parameter contained quotes.
Once I removed the quotes everything worked fine.
Describe the bug
I tried to update the task definition used by my ECS nginx-with-html-service service in my nginx-with-html cluster (btw, nginx-with-html is a docker image that shows an html file via nginx)
I execute the following command
Expected Behavior
I could successfully update the version of task definition in my service (nginx-with-html)
Current Behavior
I got the following logs
Reproduction Steps
Actually, I executed the command line as a part of an open-source CI/CD pipeline called Concourse CI.
Here is the procedure that you may reproduce this bug
Install Concourse CI and
fly
binary to your EC2 instanceBuild a docker image of nginx-with-html and push that to your ECR repo (https://github.com/makotonakai/nginx-with-html)
Create the following file called
pipeline.yml
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.11.17 Python/3.11.3 Linux/5.19.0-1024-aws exe/x86_64.ubuntu.22 prompt/off
Environment details (OS name and version, etc.)
Ubuntu 22.04