Difference between revisions of "Ecs-cli ps"
Jump to navigation
Jump to search
(→Error) |
|||
Line 15: | Line 15: | ||
ecs-cli ps | ecs-cli ps | ||
− | FATA[0000] Error executing 'ps': Set a region using ecs-cli configure command with the [[--region]] flag or [[AWS_REGION]] environment variable or --profile flag | + | FATA[0000] Error executing 'ps': Set a region using [[ecs-cli configure]] command with the [[--region]] flag or [[AWS_REGION]] environment variable or --profile flag |
Solution: | Solution: | ||
<code>export [[AWS_REGION]]=eu-central-1</code> | <code>export [[AWS_REGION]]=eu-central-1</code> |
Revision as of 15:39, 12 May 2022
ecs-cli ps --cluster CLUSTER_NAME
ecs-cli ps --cluster CLUSTER_NAME Name State Ports TaskDefinition Health CLUSTER_NAME/60d4c240f650xxxxxe356d432/xxxxxx RUNNING your-task-name:49 UNKNOWN CLUSTER_NAME/10d4cxxxxxxxxbb916b6be356d432/yyyyyyy RUNNING 10.2.0.192:3000->3000/tcp your-second-task:49 UNKNOWN
Error
FATA[0000] Error executing 'ps': Please configure a cluster using the configure command or the '--cluster' flag
ecs-cli ps
FATA[0000] Error executing 'ps': Set a region using ecs-cli configure command with the --region flag or AWS_REGION environment variable or --profile flag
Solution:
export AWS_REGION=eu-central-1
Related
See also
ecs-cli
: [ps
|push
|pull
|images
|license
|logs
|configure
|up
|down
|registry-creds
|compose
|scale
|--help
]- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: