2017-01-17 11 views
0

私はvirtualenvにいます。私はawsebcliのようにインストールしました:pip install awsebcliAWS Elastic Beanstalkによってeb deleteが認識されない

私はeb init -p python3.4 django-tutorialを実行し、それはApplication django-tutorial has been created.と言いました。私は今このアプリケーションを削除したいと思います。私はeb deleteをやってみましたが、それは、私はその後、eb delete -a django-tutorialを試してみましたが、それは私がそれからちょうどebを入力し、「削除」記載されているコマンドのいずれかではなかった

usage: eb (sub-commands ...) [options ...] {arguments ...} 
eb: error: unrecognized arguments: delete -a django-tutorial 

を言っ

usage: eb (sub-commands ...) [options ...] {arguments ...} 
eb: error: unrecognized arguments: delete 

を言います。

abort  Cancels an environment update or deployment. 
    appversion Listing and managing application versions 
    clone  Clones an environment. 
    codesource Configures the code source for the EB CLI to use by default. 
    config  Modify an environment's configuration. Use subcommands to manage saved configurations. 
    console  Opens the environment in the AWS Elastic Beanstalk Management Console. 
    create  Creates a new environment. 
    deploy  Deploys your source code to the environment. 
    events  Gets recent events. 
    health  Shows detailed environment health. 
    init   Initializes your directory with the EB CLI. Creates the application. 
    labs   Extra experimental commands. 
    list   Lists all environments. 
    local  Runs commands on your local machine. 
    logs   Gets recent logs. 
    open   Opens the application URL in a browser. 
    platform  Manages platforms. 
    printenv  Shows the environment variables. 
    restore  Restores a terminated environment. 
    scale  Changes the number of running instances. 
    setenv  Sets environment variables. 
    ssh   Opens the SSH client to connect to an instance. 
    status  Gets environment information and status. 
    swap   Swaps two environment CNAMEs with each other. 
    terminate Terminates the environment. 
    upgrade  Updates the environment to the most recent platform version. 
    use   Sets default environment. 

私が初期化したアプリケーションを削除するにはどうすればよいですか?削除がコマンドとして認識されないのはどうですか?

編集:ちょうどeb stopが存在しないかに気づいたが、このリンクから: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/delete.html

eb stopeb deleteの両方が存在している必要があります。

答えて

1

eb terminate --allを試してアプリケーションを削除し、現在のEB documentationを確認してください。

+0

ああ、これは機能しました! 'eb delete'と' eb stop'はなぜ認識されないのですか? – user2719875

+0

リンク先のドキュメントページは古く、古いバージョンのCLIを参照しています。 – Brian

関連する問題