I am trying to build a central (common) pack which contains some common actions eg.
- Get Data from Postgres
- Get Data from some API call
These are generic actions and these require configs for them to run. Eg. Postgres requires
host, port, username, password, db.
These configs are stored in different packs for different tenants. Each tenant has its own
pack and each tenant will have its configs.
I want to reuse the common actions instead of adding these everytime to each tenant. I want one common
pack which will hold the common actions and based on the tenant context or pack
(tenant) name it will fetch the configs from that pack.
I have been struggling a lot to do this, unfortunately the only way I found was to duplicate these common actions across tenant packs. Is there any other way to do it?