## what [Support YAML "explicit types"](https://stackoverflow.com/a/9703472/1237191) used in numerous other projects, like Home Assistant. ## why * Greater flexibility to organize configurations * Greater extensibility; should be able to add more of these explicit types. ## Examples - `!env_var FOO` will insert the value of the `FOO` environment variable (inspired by [Home Assistant YAML](https://www.home-assistant.io/docs/configuration/yaml/)) - `!unset` will delete the value from the stack configuration (#227) - `!include FILE` will insert the YAML contents of the file at that position with proper indentation - `!include_dir DIR` will insert all the YAML files in lexicographic order with the proper indentation - `!secret aws/ssm FOO` will read the value from AWS SSM and insert the value into the in-memory stack configuration Set the `CLOUDFLARE_API_KEY` for the `cloudflare` provider. ``` env: CLOUDFLARE_API_KEY: !secret aws/ssm FOO ``` ## Related #227 ## See Also * https://www.home-assistant.io/docs/configuration/splitting_configuration/ * https://www.home-assistant.io/docs/configuration/splitting_configuration/#advanced-usage * https://www.home-assistant.io/docs/configuration/yaml/ * https://stackoverflow.com/questions/63567945/how-to-extend-go-yaml-to-support-custom-tags
Activity
[-]Support YAML Explict Types[/-][+]Support YAML Explict Typing[/+]osterman commentedon Dec 5, 2024
Support for explicit types was added in:
fix(security): remediate 7 Dependabot alerts in website deps
fix(security): remediate 7 npm Dependabot alerts in website/
fix(security): remediate 7 Dependabot alerts in website/pnpm-lock.yaml
fix(security): remediate 7 open Dependabot alerts
fix(security): remediate 7 Dependabot alerts (js-yaml, mermaid)
fix(security): remediate 7 Dependabot alerts (js-yaml, mermaid)
fix(security): remediate 7 Dependabot alerts in website dependencies
feat(ai): browsable, searchable Agent Skills Directory (#2881)
fix(ai): close DX gaps found in atmos ai field test (cloudposse#2903)
fix(steps): resolve relative paths against step.WorkingDirectory (clo…
Add task-runner dependencies, freshness checks, and preconditions to …
feat(toolchain): add update command, fix version-pinning bugs (cloudp…
fix(git): tolerate config errors for CI git-clone bootstrap pre-Cobra (…
Add Make/Just/Task migration guides; fix two Atmos config bugs (cloud…