LoginSignup
0
0

More than 3 years have passed since last update.

aws ecsコマンドのテンプレートにdeploymentControllerが無い

Posted at

背景

公式によるとこのコマンドを叩くと

$ aws ecs create-service --generate-cli-skeleton

下記が含まれるテンプレートが返却されるはずだが何故かない

    "deploymentController": {
        "type": "ECS"
    },

解決した流れ

バージョンは下記だったが、古かったらしい。

$ aws --version
aws-cli/1.15.50 Python/3.7.0 Darwin/18.5.0 botocore/1.10.49

brewでインストールしてたのでアップグレード

$ brew upgrade awscli

aws cliが更新されている事を確認

$ aws --version
aws-cli/1.16.150 Python/3.7.3 Darwin/18.5.0 botocore/1.12.140

この状態でコマンドを叩くと正しいテンプレートが返却されました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0