Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Add dependency check to install script #122

@laurikimmel

Description

@laurikimmel

Metadata:

  • Operating System: Debian 8.10
  • Installation method: install.sh script
  • AWS CLI Version: not sure any more, less than 1.15.2

I was not able to login over SSH with existing IAM user account. Troubleshooting revealed

aws iam list-ssh-public-keys --user-name "$UnsaveUserName" --query "SSHPublicKeys[?Status == 'Active'].[SSHPublicKeyId]" --output text

in authorized_keys_command.sh was returning error since outdated version of awscli.

Upgrading awscli to lates available (1.15.2) fixed the issue.

  1. document minimum required versions for dependencies
  2. add version checks to install script. Eg. check available versions and abort in case they don't meet minimum requirements

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions