[codedeploy] give autoscaling:* and tag:* to deploy user

This commit is contained in:
Paul Schoenfelder 2018-05-25 13:00:06 -04:00
parent a8bee7925f
commit e2e3d99caa
1 changed files with 2 additions and 8 deletions

View File

@ -73,17 +73,11 @@ data "aws_iam_policy_document" "codedeploy-policy" {
effect = "Allow"
actions = [
"autoscaling:CompleteLifecycleAction",
"autoscaling:DeleteLifecycleHook",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeLifecycleHooks",
"autoscaling:PutLifecycleHook",
"autoscaling:RecordLifecycleActionHeartbeat",
"autoscaling:*",
"codedeploy:*",
"tag:*",
"ec2:DescribeInstances",
"ec2:DescribeInstanceStatus",
"tag:GetTags",
"tag:GetResources",
"sns:Publish",
]