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

Apiary producer role does not check schema(key) name #250

Open
githubjianli opened this issue Mar 19, 2024 · 0 comments
Open

Apiary producer role does not check schema(key) name #250

githubjianli opened this issue Mar 19, 2024 · 0 comments

Comments

@githubjianli
Copy link
Collaborator

Describe the bug
in here: https://github.com/ExpediaGroup/apiary-data-lake/blob/master/common.tf#L35C3-L35C30

when pass apiary_producer_iam_role to bucket policy, it only looks up the value of the variable, but when we define the producer role, we have a schema name(key) specified, that is not considered when we passing roles, which will cause all iam roles lists here will have permission to all schemas.

To Reproduce
Steps to reproduce the behaviour ideally including the configuration files you are using (feel free to rename any sensitive information like server and table names etc.)

Expected behavior
A clear and concise description of what you expected to happen.

Logs
Please add the log output from Apiary when the terraform error occurs, full stack traces are especially useful.

Versions (please complete the following information):

  • Apiary Version:

Additional context
Add any other context about the problem here.

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