You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The env var values are loaded either from the .env file or from the environment, and used as the argument values.
Actual Behavior
$ fabric data document.simple_alerts_overview.data.elasticsearch.alerts_last_week
Jun 18 13:19:00.086 INF Parsing fabric files command=data
Jun 18 13:19:00.095 INF Loading plugin resolver command=data includeRemote=false
Jun 18 13:19:00.096 INF Loading plugin runner command=data
Jun 18 13:19:00.121 INF Loading plugin command=data component=runner name=blackstork/elastic path=.fabric/plugins/blackstork/elastic@0.4.2-rc3
Jun 18 13:19:00.487 INF Loading plugin command=data component=runner name=blackstork/openai path=.fabric/plugins/blackstork/openai@0.4.2-rc3
Jun 18 13:19:00.687 INF Fetching data command=data target=document.simple_alerts_overview.data.elasticsearch.alerts_last_week
Jun 18 13:19:00.687 INF Loading document data command=data document=simple_alerts_overview datasource=elasticsearch name=alerts_last_week
Error: Variables not allowed
on simple-overview.fabric line 10, in config "data""elasticsearch":
10: cloud_id = env.ELASTIC_CLOUD_ID
Variables may not be used here.
Error: Variables not allowed
on simple-overview.fabric line 11, in config "data""elasticsearch":
11: api_key_str = env.ELASTIC_API_KEY
Variables may not be used here.
Additional Context
tested on v0.4.2-rc3
The text was updated successfully, but these errors were encountered:
Description
Fabric throws an error when
env
is used in the config block.Steps to Reproduce
The config block used in the template:
Expected Behavior
The env var values are loaded either from the
.env
file or from the environment, and used as the argument values.Actual Behavior
Additional Context
v0.4.2-rc3
The text was updated successfully, but these errors were encountered: