Skip to content

Commit

Permalink
format permissions stanza (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwilkins authored Aug 17, 2018
1 parent 6a87277 commit 49d5adc
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,15 @@ resource "null_resource" "nomad_worker_bouncer" {

In order to run the bouncer, the following permissions are required:

### asg
DescribeAutoScalingGroups
DescribeLaunchConfigurations
CompleteLifecycleAction
TerminateInstanceInAutoScalingGroup
SetDesiredCapacity

### ec2
DescribeInstances
DescribeInstanceAttribute
```
autoscaling:DescribeAutoScalingGroups
autoscaling:DescribeLaunchConfigurations
autoscaling:CompleteLifecycleAction
autoscaling:TerminateInstanceInAutoScalingGroup
autoscaling:SetDesiredCapacity
ec2:DescribeInstances
ec2:DescribeInstanceAttribute
```

Note that several of these permissions could cause service outages if abused. If this is a concern, scoping the permissions is recommended.

Expand Down

0 comments on commit 49d5adc

Please sign in to comment.