cloudposse / cloudposse/atmos

Option to log the output of all atmos commands

Open
#86 0 comments 1 reaction 1 assignee Claimed by @osterman View on GitHub
enhancement
Dominant language
Go
Stars
1.4k
Forks
175
Avg merge
2d 3h
Merged PRs (30d)
134

Description

Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/).

[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)

## Describe the Feature

I'd love to see previous atmos command output (stdout and stderr) in some kind of `~/.atmos/logs/` folder.

```
$ atmos terraform plan eks --stack ue2-auto
... atmos output ...
$ atmos terraform apply eks --stack ue2-auto
... atmos output ...
$ atmos terraform output eks --stack ue2-auto
... atmos output ...
```

Then
```
$ ls -la ~/.atmos/logs/
YYMMDD-HHMMSS-terraform-plan-ue2-auto-eks.log
YYMMDD-HHMMSS-terraform-apply-ue2-auto-eks.log
YYMMDD-HHMMSS-terraform-output-ue2-auto-eks.log
etc
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.