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

Allow for metadata to be passed to the module. #37

Open
2 tasks
phzietsman opened this issue Dec 6, 2022 · 0 comments
Open
2 tasks

Allow for metadata to be passed to the module. #37

phzietsman opened this issue Dec 6, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@phzietsman
Copy link
Contributor

Currently, when you get a notification it is not immediately clear for which account the event was (unless you've memorized all your account Ids).

This can be solved by passing in metadata that can be used to enrich the event for ease of use.

This data can easily be fetched from the organization, but we'd prefer not to give the ClickOps application more permissions than really needs.

A proposed structure:

clickops-metadata:
  accounts:
    123456789012:
      alias: "non-prod-app-a"
    123456789013:
      alias: "prod-app-b" 

Some checks:

  • Basic validation to ensure keys are AWS account Ids
  • Examples on how to dynamically get this from orgs and how to load from YAML
@phzietsman phzietsman added the enhancement New feature or request label Dec 6, 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

2 participants