Improve logging for the template function atmos.Component
Update Golang to the latest version 1.23
why
When the environment variable ATMOS_LOGS_LEVEL is set to Trace, the template functions atmos.Component and atmos.GomplateDatasource will log the execution flow and the results of template evaluation - useful for debugging
ATMOS_LOGS_LEVEL=Trace atmos terraform plan <component> -s <stack>
This PR adds more debugging information and shows the results of the atmos.Component execution, and shows if the result was found in the cache:
Found component 'template-functions-test' in the stack 'tenant1-ue2-prod' in the stack manifest 'orgs/cp/tenant1/prod/us-east-2'
ProcessTmplWithDatasources(): template 'all-atmos-sections' - evaluation 1
Converting the variable 'test_list' with the value
[
"list_item_1",
"list_item_2",
"list_item_3"
]
from JSON to 'Go' data type
Converted the variable 'test_list' with the value
[
"list_item_1",
"list_item_2",
"list_item_3"
]
from JSON to 'Go' data type
Result: [list_item_1 list_item_2 list_item_3]
Converting the variable 'test_map' with the value
{
"a": 1,
"b": 2,
"c": 3
}
from JSON to 'Go' data type
Converted the variable 'test_map' with the value
{
"a": 1,
</tr></table>
... (truncated)
Commits
a34048a Improve logging for the template function atmos.Component (#672)
9fef230 add docs with windows/scoop install instructions (#649)
094872f Fix docker build ATMOS_VERSION support v* tags (#671)
e5680c7 Add --process-templates flag to atmos describe stacks and `atmos describe...
ccc0b98 Update affected-stacks job outputs and matrix integration (#661)
d7f71d4 Updated Documentation for GHA Versions (#657)
db0ac7c Update atmos describe affected and atmos terraform commands (#654)
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 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)
Bumps github.com/cloudposse/atmos from 1.84.0 to 1.86.1.
Release notes
Sourced from github.com/cloudposse/atmos's releases.
... (truncated)
Commits
a34048a
Improve logging for the template functionatmos.Component
(#672)9fef230
add docs with windows/scoop install instructions (#649)094872f
Fix docker buildATMOS_VERSION
supportv*
tags (#671)e5680c7
Add--process-templates
flag toatmos describe stacks
and `atmos describe...ccc0b98
Update affected-stacks job outputs and matrix integration (#661)d7f71d4
Updated Documentation for GHA Versions (#657)db0ac7c
Updateatmos describe affected
andatmos terraform
commands (#654)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