Skip to content

Allow multiple dynamic project generates profiles with workflow configurable #591

Open
@zongsizhang

Description

@zongsizhang

it's quite typical for Atlantis users to mange repo in below architecture:

  project-1/
  project-2/
staging: -> need a separate workflow, deploy to different aws account
  project-1/
  project-2/```

Currently in digger the only way is to manually clarify all the projects as generate projects all share the same default workflow config.

The most straight forward way is to enable multiple generate_preojects

generate_projects:

  • includes: xxx
    excludes: xxx
  • includes: xxx
    excludes: xxx

I suggest digger can enable us to clarify projects in any sub folders under the repo. In this case the main config file doesn't need to care about the project structure at all.

prod/
digger.yml -> config differ
project-1/
project-2/
staging/
digger.yml -> config digger
project-1/
project-2/

And make digger binary to discover the config files, and execute accordingly.

Much appreciate!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions