Daan
Daan

Reputation: 2888

How to enable start-deployment for AWS Amplify?

I want to use start-deployment for AWS Amplify but my CLI tells me it cannot find that command. How come? It is just one of the features. And how to solve this?

enter image description here

Upvotes: 1

Views: 637

Answers (1)

Martin Löper
Martin Löper

Reputation: 6649

From your screenshot, I assume that you are trying to call a binary named amplify. What you should do instead is to call the amplify command (see synopsis [1]) of the aws cli binary.

Your invocation should therefore look something like: aws amplify start-deployment --app-id xxxxx --branch-name xxxxx

[1] https://awscli.amazonaws.com/v2/documentation/api/latest/reference/index.html#synopsis

Upvotes: 1

Related Questions