Skip to content

Commit

Permalink
Merge pull request #296 from weaveworks/fix-278
Browse files Browse the repository at this point in the history
Allow nodes to write CloudWatch metrics
  • Loading branch information
errordeveloper authored Nov 1, 2018
2 parents 44337ce + 6d13a19 commit 80af1ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cfn/builder/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ func (c *ClusterResourceSet) addResourcesForIAM() {
"ec2:CreateSecurityGroup",
"ec2:Describe*",
})
c.rs.attachAllowPolicy("PolicyCloudWatchMetrics", refSR, "*", []string{
"cloudwatch:PutMetricData",
})
}

// WithIAM states, if IAM roles will be created or not
Expand Down

0 comments on commit 80af1ed

Please sign in to comment.