fargatecli icon indicating copy to clipboard operation
fargatecli copied to clipboard

Default task running doesn't work without additional configuration

Open themotu opened this issue 7 years ago • 3 comments

Basic task run: InvalidParameterException: subnets can not be empty. Basic task run with subnets: InvalidParameterException: security group cannot be blank

themotu avatar Dec 05 '18 00:12 themotu

Did you find a way around this?

dstroot avatar Feb 24 '19 02:02 dstroot

FYI - for anyone else who watches the video and can't get a task running, the video is misleading. You need additional configuration. The minimum I found that worked was:

fargate task run web --image repo/container:latest \
--subnet-id subnet-xxxxxxxxxxxxx \
--security-group-id sg-xxxxxxxxxxxx

dstroot avatar Feb 24 '19 17:02 dstroot

The video should be updated if it's misleading. It was for me and this issue confirms that I am not alone.

joshenders avatar Dec 25 '20 21:12 joshenders