This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this in ~/chef-repo/data_bags/aws/main.rb | |
# Upload it to the Chef Server with: | |
# | |
# knife data bag item rb aws main.rb | |
# | |
# Export the two AWS values for your account. | |
{ | |
'id' => "main", | |
'aws_access_key_id' => ENV['AWS_ACCESS_KEY_ID'], |