i have to create dashboard for multiple orgs
apiVersion: 1
providers:
EOF
for i in {static_dash_output_dir}/*; do
if [[ -d {i} ]]; then
local folder=$(basename ${i})
cat <<EOF >> ${output_file}
- name: “{folder}"
folder: "{folder}”
type: file
disableDeletion: false
updateIntervalSeconds: 3
options:
path: “{static_dash_output_dir}/{folder}”
orgId: 1 - name: “{folder}"
folder: "{folder}”
type: file
disableDeletion: false
updateIntervalSeconds: 3
options:
path: “{static_dash_output_dir}/{folder}”
org: 2
what i am doing wrong here