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

access_policy: prevent crashes for empty policies #1034

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

jacobbednarz
Copy link
Member

Updates the BuildAccessGroupCondition to handle cases where the value
provided by the user can be an empty list.

While this handles an empty list from Terraform's perspective, empty
Access Policies still have undesirable effects such as emtpy allow
directives which when empty will prevent all access to the policy.

Updates the `BuildAccessGroupCondition` to handle cases where the value
provided by the user can be an empty list.

While this handles an empty list from Terraform's perspective, empty
Access Policies still have undesirable effects such as emtpy `allow`
directives which when empty will prevent all access to the policy.
@jacobbednarz jacobbednarz merged commit a46ceb4 into master Apr 16, 2021
@jacobbednarz jacobbednarz deleted the allow-empty-access-policies branch April 16, 2021 01:54
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.

1 participant