Setting TYK Dashboard environment variables on the tyk-hosted (hybrid) setup?

I’m working through the existing guidance on a tyk-sync developer workflow for sending configurations to deployed gateways.

The documentation says there are some pre-requisites in terms of required environment variables:

### DASHBOARD SETTING
    extraEnvs:
      - name: TYK_DB_ALLOWEXPLICITPOLICYID
        value: true
      - name: TYK_DB_ENABLEDUPLICATESLUGS
        value: true

### GATEWAY SETTING
    extraEnvs:
      - name: TYK_GW_POLICIES_ALLOWEXPLICITPOLICYID
        value: true

In terms of the gateway deployment terraform scripts we do the deployment, but I’m told by my infra team that the tyk dashboard(s) are hosted within the tyk cloud environments and therefore are not deployed by us.

How do we ensure that the tyk hosted dashboards have those required settings?

Hello @Alexander_Chesser those are the default settings. However, if you ever need to change any env variables in your environment you can submit a support ticket.

1 Like

Oh great! Thanks Zaid.

So in my deployed DASHBOARD the explicit policyid and duplicate slugs settings are enabled. So as far as I’m concerned, the only work my team has to take on is making sure our gateways get deployed with the TYK_GW_POLICIES_ALLOWEXPLICITPOLICYID setting.

Perfect :smile:

1 Like