Add logging to the template functions atmos.Component and atmos.GomplateDatasource
Add --process-templates flag to atmos describe stacks and atmos describe component commands
Update docs
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>
Enable/disable processing of Go templates in Atmos stacks manifests when executing the commands
For atmos describe component <component> -s <stack> command, use the --process-templates flag to see the component configuration before and after the templates are processed. If the flag is not provided, it's set to true by default
# Process `Go` templates in stack manifests and show the final values
atmos describe component <component> -s <stack>
Process Go templates in stack manifests and show the final values
For atmos describe stacks command, use the --process-templates flag to see the stack configurations before and after the templates are processed. If the flag is not provided, it's set to true by default
# Process `Go` templates in stack manifests and show the final values
atmos describe stacks
Process Go templates in stack manifests and show the final values
atmos describe stacks --process-templates=true
Do not process Go templates in stack manifests and show the template tokens in the output
atmos describe stacks --process-templates=false
The command atmos describe stacks --process-templates=false can also be used in Atmos custom commands that just list Atmos stacks does not require template processing. This will significantly speed up the custom command execution. For example, the custom command atmos list stacks just outputs the top-level stack names and might not require template processing. It will execute much faster if implemented like this (using the --process-templates=false flag with the atmos describe stacks command :
- name: list
... (truncated)
Commits
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.0.
Release notes
Sourced from github.com/cloudposse/atmos's releases.
... (truncated)
Commits
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