Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit fbc1a08

Browse files
author
Matej Stajduhar
committed
Merge branch 'Updatng-permissions-and-adding-more-functions' into Updatng-permissions-and-adding-more-functions-PR-devel-2.x
2 parents cab2fcf + 17f8c19 commit fbc1a08

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

roles/aws/aws_admin_tools/defaults/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ aws_admin_tools:
99
inline_policies:
1010
name: "{{ _aws_profile }}Billing"
1111
resource: "*"
12-
acton:
12+
action:
1313
- "ce:*"
1414
policies: []
1515
- name: "Change_ASG_Scaling"
@@ -22,7 +22,7 @@ aws_admin_tools:
2222
inline_policies:
2323
name: "ListEc2"
2424
resource: "*"
25-
acton:
25+
action:
2626
- "ec2:DescribeAddresses"
2727
- "ec2:DescribeInstances"
2828
- name: "Get_IP_Set"
@@ -31,13 +31,13 @@ aws_admin_tools:
3131
inline_policies:
3232
name: "Get_IP_Set"
3333
resource: "*"
34-
acton:
34+
action:
3535
- "wafv2:GetIPSet"
3636
- name: "Update_IP_Set"
3737
type: POST
3838
policies: []
3939
inline_policies:
4040
name: "Update_IP_Set"
4141
resource: "*"
42-
acton:
42+
action:
4343
- "wafv2:UpdateIPSet"

roles/aws/aws_admin_tools/tasks/lambda_iam.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
ansible.builtin.set_fact:
33
_policies: "{{ item.policies + ['arn:aws:iam::aws:policy/CloudWatchLogsFullAccess'] }}"
44

5-
- name: Print inline polcies.
6-
ansible.builtin.debug:
7-
msg: "{{ item.inline_policies }}"
8-
95
- name: Create a role and attach policies.
106
ansible.builtin.include_role:
117
name: aws/aws_iam_role

roles/aws/aws_iam_role/tasks/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
- name: Print inline polcies.
2-
ansible.builtin.debug:
3-
msg: "{{ aws_iam_role.inline_policies }}"
4-
51
- name: Create an IAM Managed Policy if defined.
62
amazon.aws.iam_managed_policy:
73
policy_name: "inline_{{ aws_iam_role.inline_policies.name }}_policy"

0 commit comments

Comments
 (0)