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

Publish hook to AWS Marketplace #31

Open
anderseknert opened this issue Apr 4, 2022 · 1 comment
Open

Publish hook to AWS Marketplace #31

anderseknert opened this issue Apr 4, 2022 · 1 comment

Comments

@anderseknert
Copy link
Member

Having the user install the hook themselves works pretty well, but it would be nice if we also offered this hook directly in the AWS Marketplace. This would also help with discoverability.

@anderseknert
Copy link
Member Author

AFAICS, there are two challenges here:

  • The hook needs to be published in every region where we would want it to be accessible. This can be automated via a "StackSet", which is basically a way to publish a template across multiple regions. Only admin accounts may do this. We could always start with a single region to test the waters.
  • The other step required is potentially more problematic. Any hook requires some positive/negative test cases ("contract testing") to succeed as part of the approval process. While you can include test input data for this purpose, it's not clear to me how you'd deal with an external dependency like OPA here, as there doesn't seem to be a way to provide configuration for the hook for these test cases. This makes sense as long as all the hook logic is contained in Java/Python, but not so much when reaching out to an external service like OPA. Will likely need to ask AWS about this.

See the docs on publishing a hook for further details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant