awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
200 stars 132 forks source link

Nice to have for next iterations #3

Open bgiorgini opened 8 years ago

bgiorgini commented 8 years ago

It would be nice to have a snippet for IAM Role needed instead of providing ACCESS and SECRET keys to install. Also, if you could add a sample bootstrap script to run as part of USER_DATA to get this automatically installed during bootstrap in non-interactive mode, that would be awesome. Thanks for developing this plugin!

grizo commented 7 years ago

try the following for the iam policy attached to a role

          {
            "Action": ["cloudwatch:PutMetricData"],
            "Effect": "Allow",
            "Resource": ["*"]
          }