Coder Social home page Coder Social logo

systemmanic / homebrew-aws-session-manager-plugin Goto Github PK

View Code? Open in Web Editor NEW
31.0 0.0 9.0 36 KB

Install the AWS session manager plugin with Homebrew

Home Page: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html

License: GNU General Public License v3.0

Ruby 100.00%
homebrew homebrew-tap aws aws-cli

homebrew-aws-session-manager-plugin's Introduction

Homebrew AWS Session Manager plugin

Description

For installing the AWS session manager plugin for AWS CLI with Homebrew

Installation

  1. brew tap syncdk/aws-session-manager-plugin

  2. brew install aws-session-manager-plugin

You can verify installation by running:

session-manager-plugin

Notes

A Cask version of this plugin is also availible as a Cask in homebrew-cask.

homebrew-aws-session-manager-plugin's People

Contributors

reegnz avatar rickard-von-essen avatar shane4ster avatar systemmanic avatar whpearson avatar wyattwalter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-aws-session-manager-plugin's Issues

--version does not output version.

The session-manager-plugin --version command returns the message:

session-manager-plugin is not installed in default location.
Check version file in installed directory.

It would be nice if this functioned correctly.

Cask refactor broke all formulas depending on the plugin formula

Heya @dkanejs. First off, thanks for all the hard work supporting this Brew formula. It's been very useful to be able to depend on it from other formulas.

Unfortunately, with the cask refactor, any new installs of fomulas that depended on the fomula-version of the plugin now fail. I've scoured the Homebrew docs and it's not possible to depend on a cask from a formula. It's also not possible to specify a git hash or tag via depends_on.

Any chance you could re-introduce the formula version of the plugin alongside the cask version?

Add Linux Support

The package installed very fine by running brew install aws-session-manager-plugin on ubuntu
But Permission issue

ls -lah
.r--r--r-- shrey shrey 14.8 MB Mon Jan  6 19:27:58 2020 session-manager-plugin

It Complied for Mac

file session-manager-plugin 
session-manager-plugin: Mach-O 64-bit x86_64 executable

Can you please add support for linux

ChecksumMismatchError: SHA256 mismatch on 1.1.54.0

It appears the hash in the formula is incorrect for the 1.1.54.0 bundle.

% brew install aws-session-manager-plugin
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Installing aws-session-manager-plugin from dkanejs/aws-session-manager-plugin
==> Downloading https://s3.amazonaws.com/session-manager-downloads/plugin/1.1.54.0/mac/sessionmanager-bundle.zip
######################################################################## 100.0%
Error: An exception occurred within a child process:
  ChecksumMismatchError: SHA256 mismatch
Expected: 57f310fa55944fe8d894d7d03b2b0b1f657a2d33b740a9a248dd15f47183fddf
  Actual: d9b558193370b2ecc0ddba001b6ee974b14b60d4d247851706e26a9811f15349
 Archive: /Users/catmeme/Library/Caches/Homebrew/downloads/a419a4afbd34b9a4edf572409ad606c2b7d776923946c9f9d78a1d3560618a74--sessionmanager-bundle.zip
To retry an incomplete download, remove the file above.

I have manually downloaded the zip, and calculated the sha256 sum, receiving the same result as brew:

% curl -O https://s3.amazonaws.com/session-manager-downloads/plugin/1.1.54.0/mac/sessionmanager-bundle.zip
% shasum -a 256 sessionmanager-bundle.zip
d9b558193370b2ecc0ddba001b6ee974b14b60d4d247851706e26a9811f15349  sessionmanager-bundle.zip

Configure logging during installation

Ensure logging is configured during installation.

As the path to the configuration is hardcoded in the plugin, this falls outside of the Homebrew installation.

Need to investigate how this can function.

Requirements:

  • Logging example configuration is installed to avoid manual file/directory creation.
  • Logging configuration will work the same as outlined in the AWS documentation.
  • Not enabled by default (as outlined in AWS documentation, it's optional)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.