cookbook 'slack_speak', '= 0.1.10'
slack_speak (12) Versions 0.1.10 Follow0
Adds slack_speak resource for Slack chat integration
cookbook 'slack_speak', '= 0.1.10', :supermarket
knife supermarket install slack_speak
knife supermarket download slack_speak
slack_speak Cookbook
Provides slack_speak resource for sending messages to your Slack Custom Integration Incoming WebHook that you configure through https://YOUR_ORG_NAME.slack.com/services/. The webhook url will look similar to: https://hooks.slack.com/services/XXXXX/XXXXX/XXXXXXXXXXXXXXXXX
This cookbook currently only makes use of AWS parameter store as the source of the webhook URL which is KMS encrypted. In order to read the value an IAM role attached to the EC2 instance is required that includes something like:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ssm:GetParameter"
],
"Resource": "*"
}
]
}
The parameter store value will need to be in the sam region as the EC2 instance and is by default named /slack_speak/web_hook_url
Dependent cookbooks
aws ~> 8.0.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
0.1.10 failed this metric
FC066: Ensure chef_version is set in metadata: slack_speak/metadata.rb:1
FC120: Do not set the name property directly on a resource: slack_speak/resources/say.rb:8
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.10 failed this metric
FC120: Do not set the name property directly on a resource: slack_speak/resources/say.rb:8
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any