aws-cloudformation / aws-cloudformation/aws-cloudformation-resource-providers-awsutilities-commandrunner

Unable to run aws ecs update-service --region us-east-1 --cluster xxxxxx --service xxxxxxxx --deployment-configuration '{"deploymentCircuitBreaker":{"enable":true,"rollback":true},"maximumPercent":200,"minimumHealthyPercent":100}' > ./command-output.txt ````

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
81
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Hi ,
I am unable run the below command using CommandeRunner utility, however I can run it successfully using CLI directly
aws ecs update-service --region us-east-1 --cluster xxxxxx --service xxxxxxxx --deployment-configuration '{"deploymentCircuitBreaker":{"enable":true,"rollback":true},"maximumPercent":200,"minimumHealthyPercent":100}'
> ./command-output.txt ````

the issue seems to be with the AWS CLI version that's running
on the command runner created instance, I would like to request you to please update the AWS CLI to `aws-cli/2.x.x` .

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named; begin by locating how CommandRunner creates its instance and installs or invokes the AWS CLI. Reproduce the supplied ECS command with the runner and verify that it uses AWS CLI 2.x and writes command-output.txt without failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, shell
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.