4343
4444# Determine the proxy instance based on the provided $STACK_NAME
4545apigee_api=pfp-proxygen
46+ apigee_client=prescriptions-for-patients
4647instance=" pfp-proxygen${instance_suffix} "
4748
4849echo " Proxy instance: ${instance} "
4950echo " Apigee api: ${apigee_api} "
51+ echo " Apigee client: ${apigee_client} "
5052
5153echo
5254
@@ -100,6 +102,7 @@ if [[ "${ENABLE_MUTUAL_TLS}" == "true" ]]; then
100102 echo " Store the secret used for mutual TLS to AWS using Proxygen proxy lambda"
101103 if [[ " ${DRY_RUN} " == " false" ]]; then
102104 jq -n --arg apiName " ${apigee_api} " \
105+ --arg apiClient " ${apigee_client} " \
103106 --arg environment " ${APIGEE_ENVIRONMENT} " \
104107 --arg secretName " ${MTLS_KEY} " \
105108 --arg secretKey " ${client_private_key} " \
@@ -126,6 +129,7 @@ if [[ "${DRY_RUN}" == "false" ]]; then
126129
127130 jq -n --argfile spec " ${SPEC_PATH} " \
128131 --arg apiName " ${apigee_api} " \
132+ --arg apiClient " ${apigee_client} " \
129133 --arg environment " ${APIGEE_ENVIRONMENT} " \
130134 --arg instance " ${instance} " \
131135 --arg kid " ${PROXYGEN_KID} " \
150154# if [[ "${DRY_RUN}" == "false" ]]; then
151155# jq -n --argfile spec "${SPEC_PATH}" \
152156# --arg apiName "${apigee_api}" \
157+ # --arg apiClient "${apigee_client}" \
153158# --arg environment "prod" \
154159# --arg instance "${instance}" \
155160# --arg kid "${PROXYGEN_KID}" \
@@ -175,6 +180,7 @@ if [[ "${APIGEE_ENVIRONMENT}" == "internal-dev" && "${IS_PULL_REQUEST}" == "fals
175180 if [[ " ${DRY_RUN} " == " false" ]]; then
176181 jq -n --argfile spec " ${SPEC_PATH} " \
177182 --arg apiName " ${apigee_api} " \
183+ --arg apiClient " ${apigee_client} " \
178184 --arg environment " uat" \
179185 --arg instance " ${instance} " \
180186 --arg kid " ${PROXYGEN_KID} " \
0 commit comments