Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory-level approval configuration #18

Open
marshall7m opened this issue Aug 20, 2022 · 0 comments
Open

Directory-level approval configuration #18

marshall7m opened this issue Aug 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@marshall7m
Copy link
Owner

Allow users to define a config file such as approval_ci.yaml within each Terraform directory that contains directory-level approval configurations. This allows PR contributors to dynamically set these configurations within their PR rather than relying on the default configuration specified as input in this Terraform module.

The config file can look something like this:

include_parent: true
voters:
  John:
    email: [email protected]
    sms: 123-456-7890
    slack: john123
    notify_on:
    - failure
    - success
min_approval_count: 2
min_rejection_count: 2

include_parent: true will result in the first parent approval_ci.yaml configuration being merged with the child configuration (inspired by Terragrunt include block)

@marshall7m marshall7m added the enhancement New feature or request label Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant