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