
Secret references:
{%- for service in services %}
{%- if service.addon_type == "redis" %}
  REDIS_ENDPOINT: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/{{ service.secret_name }}
{%- elif service.addon_type == "opensearch" %}
  OPENSEARCH_CREDENTIALS: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/{{ service.secret_name }}
{%- elif service.addon_type == "postgres" %}
  DATABASE_CREDENTIALS:
    secretsmanager: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/{{ service.secret_name }}
{%- endif -%}
{%- endfor -%}
