README.md in miam-0.1.0 vs README.md in miam-0.1.1

- old
+ new

@@ -61,11 +61,11 @@ ```ruby require 'other/iamfile' user "bob", :path => "/developer/" do - login_profile password_reset_required: true + login_profile :password_reset_required=>true groups( "Admin" ) @@ -79,11 +79,11 @@ "Resource"=>"*"}]} end end user "mary", :path => "/staff/" do - # login_profile password_reset_required: true + # login_profile :password_reset_required=>true groups( # no group ) @@ -111,9 +111,31 @@ group "Admin", :path => "/admin/" do policy "Admin" do {"Statement"=>[{"Effect"=>"Allow", "Action"=>"*", "Resource"=>"*"}]} end end + +role "S3", :path => "/" do + instance_profiles( + "S3" + ) + + assume_role_policy_document do + {"Version"=>"2012-10-17", + "Statement"=> + [{"Sid"=>"", + "Effect"=>"Allow", + "Principal"=>{"Service"=>"ec2.amazonaws.com"}, + "Action"=>"sts:AssumeRole"}]} + end + + policy "S3-role-policy" do + {"Version"=>"2012-10-17", + "Statement"=>[{"Effect"=>"Allow", "Action"=>"*", "Resource"=>"*"}]} + end +end + +instance_profile "S3", :path => "/" ``` ## Rename ```ruby