Releases: cloudposse/atmos
v1.150.0
Add logs level validation on the command line @Cerebrovinny (#946)
what
- Add logs level validation on the command line, e.g
atmos describe affected --logs-level=Trace
why
- Validate the logs level specified in the
--logs-level
flag in addition to logs level configured inatmos.yaml
or set in the environment variableATMOS_LOGS_LEVEL
, e.g.ATMOS_LOGS_LEVEL=Trace atmos terraform plan vpc --stack dev
v1.149.0
Update `!terraform.output` and `atmos.Component` functions @aknysh (#944)
what
- Improve
!terraform.output
YAML function - Improve
atmos.Component
template function
why
-
When executing
!terraform.output
andatmos.Component
functions, honor thecomponents.terraform.init_run_reconfigure
setting inatmos.yaml
. If it's set totrue
, add the-reconfigure
flag to theterraform output
command when executing it to get the component outputs. This prevents an issue when you use the functions to retrieve the outputs of the same component from many different stacks (without using the-reconfigure
flag, Terraform detects that the backend configuration has changed and complains about it) -
Use YQ expressions to retrieve items from complex output types
To retrieve items from complex output types such as maps and lists, or do any kind of filtering or querying,
you can utilize YQ expressions.For example:
- Retrieve the first item from a list
subnet_id1: !terraform.output vpc .private_subnet_ids[0]
- Read a key from a map
username: !terraform.output config .config_map.username
Examples
components: terraform: my_lambda_component: vars: vpc_config: # Output of type list subnet_ids: !terraform.output vpc private_subnet_ids # Use a YQ expression to get an item from the list subnet_id1: !terraform.output vpc .private_subnet_ids[0] # Output of type map config_map: !terraform.output config {{ .stack }} config_map # Use a YQ expression to get a value from the map username: !terraform.output config .config_map.username
references
v1.148.1
add stores and hooks
## whatAtmos now supports the ability to use stores
to share data among components as well as external sources.
- Add the concept of stores for reading shared data
- Add the concept of hooks for writing data to stores after
terraform apply
- Add a new store for artifactory
- Add a new store for AWS SSM Parameter Store
why
When decomposing large terraform modules (terraliths) into smaller components with a smaller blast radius, it often brings a need to share data (outputs) of one component in another component. Previously atmos supported the !terraform.output
and other data sources for this purpose, but the performance and security context made this task difficult. As a result, we implemented stores and [hooks] to solve this problem.
references
v1.148.0
Colorize `atmos describe` commands output when TTY is attached @Cerebrovinny (#919)
what
- Colorize
atmos describe
commands output when TTY is attached - Added syntax highlighting configuration for terminal outputs
- Introduced customizable settings for terminal display, including line numbers and color styles
- Enhanced configuration options for YAML and JSON output formatting
why
- Improve UX
test
v1.147.0
Validate Atmos Log Levels @Cerebrovinny (#930)
what
- Validate Atmos Log Levels
- Error if invalid log level is set via the
ATMOS_LOGS_LEVEL
ENV variable or inatmos.yaml
why
- Don't accept invalid log levels
v1.146.3
🚀 Enhancements
Improve `atmos vendor pull` error messages @samtholiya (#940)
what
- Improve
atmos vendor pull
error messages - Improved error messaging for vendor configuration, providing clearer guidance when vendoring is not set up
- Enhanced error message includes a link to vendoring setup documentation
why
- Old error message was not helpful
v1.146.2
🚀 Enhancements
[Vendor] Print error message when an error occurs during installation of the last vendored component @ohaibbq (#936)
what
- Add an error message to the output of
atmos vendor pull
for the last component in a vendor manifest
why
- Improved package installation error reporting by displaying more detailed error messages during the installation process.
v1.146.1
🚀 Enhancements
Bump github.com/aws/aws-sdk-go-v2/config from 1.28.9 to 1.28.10 @dependabot (#932)
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.28.9 to 1.28.10.Commits
7a7d202
Release 2025-01-10fdaa7e2
Regenerated Clients52aba54
Update endpoints model7263a7a
Update API model- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
🤖 Automatic Updates
Bump github.com/aws/aws-sdk-go-v2/config from 1.28.9 to 1.28.10 @dependabot (#932)
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.28.9 to 1.28.10.Commits
7a7d202
Release 2025-01-10fdaa7e2
Regenerated Clients52aba54
Update endpoints model7263a7a
Update API model- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
v1.146.0
Configure and use GitHub auth token when executing `atmos vendor pull` commands @Listener430 @aknysh (#912)
what
- Use GitHub token when executing
atmos vendor pull
commands - Intorduce environment variables
GITHUB_TOKEN
andATMOS_GITHUB_TOKEN
to specify a GitHub Bearer token for authentication in GitHub API requests - Add custom GitHub URL detection and transformation for improved package downloading
why
- When pulling from private GitHub repos, GitHub has a rate limit for anonymous requests (which made
atmos vendor pull
fail when vendoring from private GitHub repositories)
description
In the case when either the ATMOS_GITHUB_TOKEN
or GITHUB_TOKEN
variable is configured with a GitHub Bearer Token, vendor files are downloaded with go-getter
using the token. The token is put into the URL, and the requests to the GitHub API are not affected to anonymous users rate limits
test
github.com/analitikasi/Coonector.git
is a private repo
- component: "weather"
source: "github.com/analitikasi/Coonector.git//quick-start-simple/components/terraform/{{ .Component }}?ref={{.Version}}"
version: "main"
targets:
- "components/terraform/{{ .Component }}/{{.Version}}"
tags:
- demo
v1.145.0
Support Component Lock with `metadata.locked` @milldr (#908)
what
-
Added support for
metadata.locked
with components -
Separate atmos CLI tests into many files:
tests/test_cases.yaml
-->tests/test-cases/*.yaml
why
- The
metadata.locked
parameter prevents changes to a component while still allowing read operations. When a component is locked, operations that would modify infrastructure (liketerraform apply
) are blocked, while read-only operations (liketerraform plan
) remain available. By default, components are unlocked. Settingmetadata.locked
totrue
prevents any change operations.
# Lock a production database component to prevent accidental changes
components:
terraform:
rds:
metadata:
locked: true
vars:
name: production-database