You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The global flag --endpoint is not available even though ecs-cli -h output specifies it's availability:
GLOBAL OPTIONS:
--endpoint value Use a custom endpoint with the ECS CLI
--help, -h show help
--version, -v print the version
Description
Which specific command was run? (Example: ecs-cli up --capability-iam --size 2 --launch-type EC2)
ecs-cli local create --endpoint http://moto-server:5000 --force --task-def-remote arn:aws:ecs:us-west-2:123456789012:task-definition/task:1 --output /tests/docker-compose.create-deploy-stack.local.yml
Which version of the CLI you are using? (Run: ecs-cli --version)
1.21.0
Which version of Go are you using? (Run: go version)
None
What platform are you using to run ECS CLI commands? (E.g. Linux, macOS, Windows)
Linux
Config files
docker-compose.yml
None (trying to create it via the command mentioned above)
ecs-params.yml
None (trying to create it via the command mentioned above)
~/.ecs/config
None
Expected Behavior
The expected docker compose and ecs params file should be successfully created.
Observed Behavior
Incorrect Usage: flag provided but not defined: -endpoint
NAME:
ecs-cli local create - Creates a Compose file from an ECS task definition.
USAGE:
ecs-cli local create [command options] [arguments...]
OPTIONS:
--task-def-file value, -f value Specifies the filename value that contains the task definition JSON to convert to a Docker Compose file. If one is not specified, the ECS CLI will look for task-definition.json.
--task-def-remote value, -t value Specifies the full Amazon Resource Name (ARN) or family:revision value of the task definition to convert to a Docker Compose file. If you specify a task definition family without a revision, the latest revision is used.
--output value, -o value Specifies the local filename value to write the Docker Compose file to. If one is not specified, the default is docker-compose.ecs-local.yml.
--force Overwrite output docker compose file if it exists. Default compose file is docker-compose.ecs-local.yml.
--use-role Uses the task role ARN instead of temporary credentials.
FATA[0000] flag provided but not defined: -endpoint
The text was updated successfully, but these errors were encountered:
Summary
The global flag
--endpoint
is not available even thoughecs-cli -h
output specifies it's availability:Description
ecs-cli up --capability-iam --size 2 --launch-type EC2
)ecs-cli --version
)1.21.0
go version
)None
Linux
Config files
None (trying to create it via the command mentioned above)
None (trying to create it via the command mentioned above)
None
Expected Behavior
The expected docker compose and ecs params file should be successfully created.
Observed Behavior
The text was updated successfully, but these errors were encountered: