Skip to content

Commit

Permalink
Fix AWS Policies (#60)
Browse files Browse the repository at this point in the history
- Add list queue policy for all queues

@mistercrunch
  • Loading branch information
hughhhh authored and lyft-buildnotify-2 committed Nov 17, 2017
1 parent 763a52b commit 5d2e184
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ops/orca/states/superset.sls
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@ Ensure superset-{{ grains.service_instance }}-iad iam role exists:
- 'sqs:GetQueueUrl'
- 'sqs:GetQueueAttributes'
- 'sqs:SetQueueAttributes'
- 'sqs:ListQueues'
- 'sqs:CreateQueue'
- 'sqs:DeleteQueue'
Effect: 'Allow'
Resource:
- 'arn:aws:sqs:*:*:superset-{{grains.service_instance}}-*'
- Action:
- 'sqs:ListQueues'
Effect: 'Allow'
Resource:
- 'arn:aws:sqs:*'

Ensure {{ grains.cluster_name }} asg exists:
boto_asg.present:
Expand Down

0 comments on commit 5d2e184

Please sign in to comment.