Select Badges

Select Supported Platforms

Select Status


tr-chef-cookbook-aws-cli (16) Versions 2.0.0

Installs and Configures AWS CLI for all users

cookbook 'tr-chef-cookbook-aws-cli', '= 2.0.0', :supermarket
cookbook 'tr-chef-cookbook-aws-cli', '= 2.0.0'
knife supermarket install tr-chef-cookbook-aws-cli
knife supermarket download tr-chef-cookbook-aws-cli
Quality 14%


Installs and configures current Version of AWS CLI and initiates a profile.d configuration to set a region for all users


No specific rules or definitions necessary. Only use default recipe

  "tr-awscli": {
   "accesskey": "<accesskey>",
   "secretkey": "<secretkey>",
   "region": "<aws-region>",
   "output": "<output-type>"

Currently it is not possible to remove the Access and Secret Key from system. Only workaround is to set another parameter to this (ex.: ---).


The attributes used by this cookbook:

Attribute Description Type Default
accesskey Enter the Access Key for AWS User here String ---
secretkey Enter the Secret Key for AWS User here String ---
region Change the ec2-instance-region String ec2-region of instance
output Change the default output for AWS CLI String ---

License and Authors

All rights reserved. This book or any portion thereof may not be reproduced or used in any manner whatsoever
without the express written permission of the publisher except for the use of brief quotations in a book review.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

tr-chef-cookbook-aws-ssm-agent Applicable Versions
tr-chef-cookbook-objectivefs Applicable Versions
tr-chef-cookbook-usermanagement Applicable Versions

Version 2.0.0

  • Add possibility to set custom output for root (AWSCLI-6)
  • Add possibility to set Access and Secret Key for root (AWSCLI-2)
  • Add possibility to set custom region for root (AWSCLI-5)
  • Add support for amazon linux (AWSCLI-9)
  • Supress sensitive content (AWS Credentials) (AWSCLI-10)
  • Change download folder (AWSCLI-3)
  • Prepare for Multi OS Unix + Windows (AWSCLI-8)
  • Change Commands more Chef style (AWSCLI-7)

Version 1.1.1

  • Updates current README and Cookbook Description

Version 1.1.0

  • Adding global Parameter for Region
  • Removing Configuration for user root

Version 1.0.3

  • Adding Changelog to Cookbook
  • Updating Version
  • Updating Supported OS

Version 1.0.0

  • Fixing Attributes for default Region eu-central-1 (Frankfurt)
  • Running Tests on different OS and sets in metadata.rb

Version 0.9.0

  • Installs AWS CLI
  • Configures Region depending on EC2 Instance for root
  • Adding Package Python as prequesites

Version 0.1.2

  • Installs AWS CLI and Configures Region eu-west-1 as default for root

Collaborator Number Metric

2.0.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric

2.0.0 failed this metric

FC069: Ensure standardized license defined in metadata: tr-chef-cookbook-aws-cli/metadata.rb:1
FC078: Ensure cookbook shared under an OSI-approved open source license: tr-chef-cookbook-aws-cli/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness,supermarket,portability,deprecated ~FC031 and failure tags any