-
Notifications
You must be signed in to change notification settings - Fork 255
Error "InvalidParameterException: Invalid identifier: Identifier is for cluster..." when running docker compose up for AWS ECS #2086
Comments
I'll also note that the service will deploy successfully by using "docker compose convert" to get a cloudformation template, then deploying the template with "aws cloudformation createstack". |
Same issue on our side, also. But, if using |
having the same issue |
Same issue here, only using the |
I'm having the same issue. |
Same here too |
Same problem here. Using both x-aws-cluster and x-aws-vpc, or just use either result in the same problem |
Also having this issue. |
Same error here, setting so |
I'm also having this problem. Detaching seems to be the solution for now. |
Same here: |
Hello all. For those of you still into using docker-compose to define your services and deploy to ECS, I'd suggest having a look at ECS Compose-X. Specifically around this issue, the way Compose-X deals with x-cluster to define the ECS Cluster to use if very versatile. You can create a brand new one, or use an existing one. If your cluster did not have the FARGATE capacity providers for example, it would autocorrect/override the deployment settings to be compatible with the available runtime. Equally, compose-x allows you to define the compute platform to use for each services individually (see these for reference). It also supports to set services to run on ECS Anywhere for those of you who would be running ECS instances outside of AWS regions :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm also having this issue. Don't really want to add yet another compose plugin into my project (sorry Compose-X). Any idea of if this will get fixed? |
No worries :) Good luck with your ECS Journey |
This issue has been automatically marked as not stale anymore due to the recent activity. |
Same here!! |
same problem here |
Same |
Same issue here. Cannot run detached either since it is part of a CI/CD pipeline. |
FYI I've opened a patch for this via #2269, but given the imminent EOL (#2258, docker/compose-ecs#7), it will (most likely) not be merged in this repository, so I've opened docker/compose-ecs#19 to track this issue, and docker/compose-ecs#20 to patch it in the new repo. |
Description
Using AWS ECS, when running "docker compose up", creation of the Service fails with error "InvalidParameterException: Invalid identifier: Identifier is for cluster Test1. Your cluster is default". The cluster defined in the docker compose file is Test1.
Here's the command used to deploy the stack:
Here's the content of the docker compose file (we have to add the permissions boundary to the roles due to organization policy):
Output of
docker-compose --version
:Output of
docker version
:Output of
docker context show
:Output of
docker info
(had to change context back to default):Additional environment details (AWS ECS, Azure ACI, local, etc.):
AWS ECS
The text was updated successfully, but these errors were encountered: