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

Commit c3c1ef6

Browse files
author
Matej Stajduhar
committed
Updating-lambda-function-handling-2
1 parent bbc3d9b commit c3c1ef6

File tree

1 file changed

+5
-5
lines changed
  • roles/aws/aws_backup_validation/tasks

1 file changed

+5
-5
lines changed

roles/aws/aws_backup_validation/tasks/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
policy_document: "{{ lookup('template', 'trusted_entitites.json.j2') }}"
4444
loop: "{{ aws_backup_validation.resources }}"
4545

46+
- name: Get info about newly created restore testing plan.
47+
ansible.builtin.command: >
48+
aws backup list-restore-testing-plans --region {{ _aws_region }}
49+
register: _testing_plans
50+
4651
- name: Create Lambda functions.
4752
ansible.builtin.include_role:
4853
name: aws/aws_lambda
@@ -81,11 +86,6 @@
8186
#- name: Get verified domain.
8287
# ansible.builtin.include_tasks: get_valid_email.yml
8388

84-
- name: Get info about newly created restore testing plan.
85-
ansible.builtin.command: >
86-
aws backup list-restore-testing-plans --region {{ _aws_region }}
87-
register: _testing_plans
88-
8989
- name: Create EventBridge with lambda functions.
9090
amazon.aws.cloudwatchevent_rule:
9191
name: "{{ item.name }}"

0 commit comments

Comments
 (0)