github cloudposse/atmos v1.89.0

one day ago
Improve error stack trace. Add `--stack` flag to `atmos describe affected` command. Improve `atmos.Component` template function @aknysh (#714) ## what
  • Improve error stack trace
  • Add --stack flag to atmos describe affected command
  • Improve atmos.Component template function

why

  • On any error in the CLI, print Go stack trace only when Atmos log level is Trace - improve user experience

  • The --stack flag in the atmos describe affected command allows filtering the results by the specific stack only:

atmos describe affected --stack plat-ue2-prod
Affected components and stacks:

[
  {
    "component": "vpc",
    "component_type": "terraform",
    "component_path": "examples/quick-start-advanced/components/terraform/vpc",
    "stack": "plat-ue2-prod",
    "stack_slug": "plat-ue2-prod-vpc",
    "affected": "stack.vars"
  }
]
  • In the atmos.Component template function, don't execute terraform output on disabled and abstract components. The disabled components (when enabled: false) don't produce any terraform outputs. The abstract components are not meant to be provisioned (they are just blueprints for other components with default values), and they don't have any outputs.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added a --stack flag to the atmos describe affected command for filtering results by stack.
    • Enhanced error handling across various commands to include configuration context in error logs.
  • Documentation

    • Updated documentation for the atmos describe affected command to reflect the new --stack flag.
    • Revised "Atlantis Integration" documentation to highlight support for Terraform Pull Request Automation.
  • Dependency Updates

    • Upgraded several dependencies, including Atmos version from 1.88.0 to 1.89.0 and Terraform version from 1.9.5 to 1.9.7.
Correct outdated 'myapp' references in simple tutorial @jasonwashburn (#707) ## what

Corrects several (assuming) outdated references to a 'myapp' component rather than the correct 'station' component in the simple tutorial.

Also corrects the provided example repository hyperlink to refer to the correct weather example 'quick-start-simple' used in the tutorial rather than 'demo-stacks'

why

Appears that the 'myapp' references were likely just missed during a refactor of the simple tutorial. Fixing them alleviates confusion/friction for new users following the tutorial. Attempting to use the examples/references as-is results in various errors as there is no 'myapp' component defined.

references

Also closes #664

Summary by CodeRabbit

  • New Features

    • Renamed the component from myapp to station in the configuration.
    • Updated provisioning commands in documentation to reflect the new component name.
  • Documentation

    • Revised "Deploy Everything" document to replace myapp with station.
    • Enhanced "Simple Atmos Tutorial" with updated example link and clarified instructional content.
Fix incorrect terraform flag in simple tutorial workflow example @jasonwashburn (#709) ## what

Fixes inconsistencies in the simple-tutorial extra credit section on workflows that prevent successful execution when following along.

why

As written, the tutorial results in two errors, one due to an incorrect terraform flag, and one due to a mismatch between the defined workflow name, and the provided command in the tutorial to execute it.

references

Closes #708

Fix typos @NathanBaulch (#703) Just thought I'd contribute some typo fixes that I stumbled on. Nothing controversial (hopefully).

Use the following command to get a quick summary of the specific corrections made:

git diff HEAD^! --word-diff-regex='\w+' -U0 \
  | grep -E '\[\-.*\-\]\{\+.*\+\}' \
  | sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
  | sort | uniq -c | sort -n

FWIW, the top typos are:

  • usign
  • accross
  • overriden
  • propogate
  • verions
  • combinatino
  • compoenents
  • conffig
  • conventionss
  • defind
Fix version command in simple tutorial @jasonwashburn (#705) ## what
  • Corrects incorrect atmos --version command to atmos version in simple tutorial docs.

why

  • Documentation is incorrect.

references

closes #704

docs: add installation guides for asdf and Mise @mtweeman (#699) ## what

Docs for installing Atmos via asdf or Mise

why

As of recent, Atmos can be installed by asdf and Mise. Installation guides are not yet included on the website. This PR aims to fill this gap.

references

Plugin repo

Use Latest Atmos GitHub Workflows Examples with `RemoteFile` Component @milldr (#695) ## what - Created the `RemoteFile` component - Replace all hard-coded files with `RemoteFile` call

why

  • These workflows quickly get out of date. We already have these publicly available on cloudposse/docs, so we should fetch the latest pattern instead

references

Update Documentation and Comments for Atmos Setup Action @RoseSecurity (#692) ## what
  • Updates comment to reflect action defaults
  • Fixes atmos-version input

why

references

Don't miss a new atmos release

NewReleases is sending notifications on new releases.