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

Commit 93a8596

Browse files
Merge pull request #2474 from codeenigma/Fixing-api-gateway-first-run-issues-PR-2.x
Fixing-api-gateway-first-run-issues
2 parents b092cff + 0884f40 commit 93a8596

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

roles/aws/aws_admin_tools/tasks/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,14 @@
6363
--rest-api-id "{{ _api_gate.id }}"
6464
--region "{{ _aws_region }}"
6565
register: _main_api_deploy
66-
when: _api_index | length > 0
6766

6867
- name: Set previous command output into variable.
6968
ansible.builtin.set_fact:
7069
_main_api_deploy_tmp: "{{ _main_api_deploy.stdout | from_json }}"
71-
when: _api_index | length > 0
7270

7371
- name: Get last item from deployment list.
7472
ansible.builtin.set_fact:
7573
_main_api_deploy: "{{ _main_api_deploy_tmp['items'] | last }}"
76-
when: _api_index | length > 0
7774

7875
- name: Configure Lambda IAM policies.
7976
ansible.builtin.include_tasks: lambda_iam.yml

0 commit comments

Comments
 (0)