Exclude abstract and disabled components from showing in the Atmos TUI @samtholiya (#851)
what
- Exclude abstract and disabled components from showing in the Atmos TUI
why
- Abstract and disabled components are not deployable
description
Suppose we have the following Atmos stack manifest:
# yaml-language-server: $schema=https://atmos.tools/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json
components:
terraform:
station:
metadata:
component: weather
vars:
location: Los Angeles
lang: en
format: ''
options: '0'
units: m
station_disabled:
metadata:
component: weather
enabled: false
vars:
location: Los Angeles
lang: en
format: ''
options: '0'
units: m
station_abstract:
metadata:
component: weather
type: abstract
vars:
location: Los Angeles
lang: en
format: ''
options: '0'
units: m
We would get the following in the Atmos TUI:
Now we get only the station
component (the abstract and disabled components are excluded):