This repository was archived by the owner on Oct 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments