Last active
April 26, 2016 13:06
-
-
Save mweagle/2279bf5ee39a2a2da0bf005ecc1575b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"core": []iamPolicyStatement{ | |
iamPolicyStatement{ | |
Action: []string{"logs:CreateLogGroup", | |
"logs:CreateLogStream", | |
"logs:PutLogEvents"}, | |
Effect: "Allow", | |
Resource: gocf.Join("", | |
gocf.String("arn:aws:logs:"), | |
gocf.Ref("AWS::Region"), | |
gocf.String(":"), | |
gocf.Ref("AWS::AccountId"), | |
gocf.String("*")), | |
}, | |
iamPolicyStatement{ | |
Action: []string{"cloudwatch:PutMetricData"}, | |
Effect: "Allow", | |
Resource: wildcardArn, | |
}, | |
iamPolicyStatement{ | |
Effect: "Allow", | |
Action: []string{"cloudformation:DescribeStacks", | |
"cloudformation:DescribeStackResource"}, | |
Resource: gocf.Join("", cloudFormationThisStackArn...), | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment