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

Support multiple services in params reader policy #121

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

mbarrien
Copy link
Contributor

Adds support for the params-reader-policy to support multiple services for the params prefixes it can read. It uses the existing project-env-service pattern, but also allows users to specify other services, as long as those services also share the same project and env, i.e. project-env-service2, project-env-service3.

Instead of instantiating the params reader multiple times and thus adding multiple IAM policy attachment, this allows us to keep it all in a single IAM policy which keeps us from hitting the IAM policy count limit. Should be backwards compatible with existing usage. This is needed for a particular use case where one team is spreading their SSM parameters across multiple names.

@mbarrien mbarrien requested a review from a team as a code owner September 16, 2019 18:30
@mbarrien mbarrien merged commit 96ea06d into master Sep 16, 2019
@mbarrien mbarrien deleted the mbarrien/params-reader-extra branch September 16, 2019 18:36
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

Successfully merging this pull request may close these issues.

2 participants