Skip to content

Commit

Permalink
README: some fixes in the IAM roles section
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Feb 11, 2014
1 parent 5a9551f commit 18c3d32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ end

### Usage with Amazon IAM roles

If you are using AWS IAM roles with your server, probably you only need to specify the `topic_arn` parameter. A few simple examples:
If you are using AWS [IAM roles](http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html) with your server, probably you only need to specify the `topic_arn` parameter. A few simple examples:

#### Method 1: In the Chef config file

Expand All @@ -127,7 +127,7 @@ Then add to the configuration (`/etc/chef/solo.rb` for chef-solo or `/etc/chef/c
require "chef/handler/sns"

exception_handlers << Chef::Handler::Sns.new({
:topic_arn => "arn:aws:sns:us-east-1:661624769153:TestChefHandlerSns"
:topic_arn => "arn:aws:sns:us-east-1:12341234:MyTopicName"
})
```

Expand All @@ -142,7 +142,7 @@ chef_gem "chef-handler-sns"
# Then activate the handler with the `chef_handler` LWRP
chef_handler "Chef::Handler::Sns" do
source "#{Gem::Specification.find_by_name("chef-handler-sns").lib_dirs_glob}/chef/handler/sns"
arguments { :topic_arn => "arn:aws:sns:***" }
arguments { :topic_arn => "arn:aws:sns:us-east-1:12341234:MyTopicName" }
supports :exception => true
action :enable
end
Expand Down

0 comments on commit 18c3d32

Please sign in to comment.