atmos icon indicating copy to clipboard operation
atmos copied to clipboard

Download an atmos.yaml base line configuration with a subcommand

Open nitrocode opened this issue 3 years ago • 2 comments
trafficstars

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

It's difficult to get atmos working out of the box without prior knowledge of the atmos.yaml file. It would be nice to use an atmos subcommand to download an atmos.yaml file with some sane common defaults which could then be modified by the user.

Describe Ideal Solution

# download default
# location could be https://github.com/cloudposse/atmos/v1.7.2/configs/default.yaml
atmos config init

# download default + atlantis integration
# location could be https://github.com/cloudposse/atmos/v1.7.2/configs/atlantis.yaml
atmos config init --flavor atlantis

# download default + terragrunt integration
# location could be https://github.com/cloudposse/atmos/v1.7.2/configs/terragrunt.yaml
atmos config init --flavor terragrunt

Alternatives Considered

  • add a configs dir to atmos repo
  • Download using curl instead of an atmos subcommand

Additional Context

N/A

nitrocode avatar Sep 14 '22 16:09 nitrocode

I agree - there should be some baseline atmos.yaml either compiled into atmos or downloadable.

osterman avatar Nov 23 '22 14:11 osterman

A tangentially related feature has been been introduced in #529, which adds a default atmos.yml config, if none is found. This is a stepping stone to implementing the above.

osterman avatar Feb 03 '24 03:02 osterman