Skip to content

Commit cf5191a

Browse files
matej5Matej Stajduhar
andauthored
moving-assume-role-to-files-folder (#1588)
* moving-assume-role-to-files-folder * Changing-lookup-function * Changing-lookup-function-2 --------- Co-authored-by: Matej Stajduhar <matej.stajduhar@codeenigma.com>
1 parent c3ae7e7 commit cf5191a

File tree

1 file changed

+1
-1
lines changed
  • roles/aws/aws_ami_asg_cleanup/tasks

1 file changed

+1
-1
lines changed

roles/aws/aws_ami_asg_cleanup/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- name: Create a role and attach policies
33
amazon.aws.iam_role:
44
name: LambdaAsgAmiCleanupRole
5-
assume_role_policy_document: "{{ lookup('file', 'assume_lambda_iam_policy.j2') }}"
5+
assume_role_policy_document: "{{ lookup('template', 'assume_lambda_iam_policy.j2') }}"
66
managed_policies:
77
- arn:aws:iam::aws:policy/AmazonEC2FullAccess
88
- arn:aws:iam::aws:policy/CloudWatchLogsFullAccess

0 commit comments

Comments
 (0)