github cloudposse/atmos v1.125.0

latest releases: v1.126.0, v1
16 hours ago
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:

image

Now we get only the station component (the abstract and disabled components are excluded):

image

Don't miss a new atmos release

NewReleases is sending notifications on new releases.