Skip to content

Commit 9f2655d

Browse files
authored
Merge pull request #243 from NHSDigital/APM-1162-tweak-apigee-organization-requirement-for-add-jwks-resource-url-to-app
APM-1162 No APIGEE_ORGANIZATION for add-jwks-resource-url-to-app
2 parents c141abd + fce4e90 commit 9f2655d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • ansible
    • collections/ansible_collections/nhsd/apigee/roles/add_jwks_resource_url_to_app/vars

ansible/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ VERBOSE := $(if ${VERBOSE},-vvv , )
2121
template-manifest: guard-DIST_DIR
2222
@poetry run ansible-playbook $(VERBOSE) -i local template-manifest.yml
2323

24-
add-jwks-resource-url-to-app: guard-APIGEE_ENVIRONMENT guard-APIGEE_ORGANIZATION guard-APIGEE_ACCESS_TOKEN guard-APP_ID
24+
add-jwks-resource-url-to-app: guard-APIGEE_ENVIRONMENT guard-APIGEE_ACCESS_TOKEN guard-APP_ID
2525
@poetry run ansible-playbook $(VERBOSE) --diff $(CHECK) -i local add-jwks-resource-url-to-app.yml
2626

2727
add-apim-guids-policy:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APIGEE_ORGANIZATION: "{{ lookup('env', 'APIGEE_ORGANIZATION')}}"
21
APIGEE_ENVIRONMENT: "{{ lookup('env', 'APIGEE_ENVIRONMENT')}}"
2+
APIGEE_ORGANIZATION: "{{ 'nhsd-prod' if APIGEE_ENVIRONMENT in ['prod', 'sandbox', 'int', 'dev'] else 'nhsd-nonprod' }}"
33
APIGEE_ACCESS_TOKEN: "{{ lookup('env', 'APIGEE_ACCESS_TOKEN')}}"
44
APP_ID: "{{ lookup('env', 'APP_ID')}}"

0 commit comments

Comments
 (0)