cloudposse / atmos

👽 Terraform Orchestration Tool for DevOps. Keep environment configuration DRY with hierarchical imports of configurations, inheritance, and WAY more. Native support for Terraform and Helmfile.
https://atmos.tools
Apache License 2.0
781 stars 96 forks source link

Download an atmos.yaml base line configuration with a subcommand #202

Open nitrocode opened 2 years ago

nitrocode commented 2 years ago

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

Additional Context

N/A

osterman commented 1 year ago

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

osterman commented 9 months ago

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.