Skip to content

Commit 795a02b

Browse files
matej5Matej Stajduhar
and
Matej Stajduhar
authored
Fixing iam role to handle inline policy pr 2.x (#2398)
* Reverting-changes * Updating-iam-tasks * Updating-iam-tasks-2 * Updating-iam-tasks-3 * Updating-iam-tasks-4 * Reverting-meta-tasks * Updating-iam-inline-policy --------- Co-authored-by: Matej Stajduhar <matej.stajduhar@codeenigma.com>
1 parent 5eeaf74 commit 795a02b

File tree

1 file changed

+5
-2
lines changed
  • roles/aws/aws_admin_tools/defaults

1 file changed

+5
-2
lines changed

roles/aws/aws_admin_tools/defaults/main.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ aws_admin_tools:
66
functions:
77
- name: "GetForecastedCosts"
88
type: GET
9-
policies:
10-
- "arn:aws:iam::{{ _acc_id }}:policy/CEBillingPolicy" # Custom policy
9+
inline_policies:
10+
name: "{{ _aws_profile }}Billing"
11+
resource: "*"
12+
acton:
13+
- "ce:*"
1114
- name: "ChangeASGScaling"
1215
type: POST
1316
policies:

0 commit comments

Comments
 (0)