Fix cloudwatch output requires unneeded permissions (#3335)

This commit is contained in:
Adam Johnson
2017-10-13 19:04:40 +01:00
committed by Daniel Nelson
parent 0f9f757da7
commit bf9f94eb9d
2 changed files with 10 additions and 8 deletions

View File

@@ -13,6 +13,8 @@ API endpoint. In the following order the plugin will attempt to authenticate.
5. [Shared Credentials](https://github.com/aws/aws-sdk-go/wiki/configuring-sdk#shared-credentials-file)
6. [EC2 Instance Profile](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html)
The IAM user needs only the `cloudwatch:PutMetricData` permission.
## Config
For this output plugin to function correctly the following variables