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

Fix AWS Scope API model validation and regions logic #122

Merged
1 commit merged into from
Mar 10, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 9, 2023

This commit fixes the validation of the AWSScope type so that if you provide invalid properties or miss some required properties it errors.

It also removes the "all" field from the AWSScope in favor of "No regions" == "All Regions" logic.

fishkerez
fishkerez previously approved these changes Mar 9, 2023
@ghost ghost force-pushed the revisit_aws_scope branch from 703ce6d to 3f06740 Compare March 9, 2023 15:02
@ghost ghost self-requested a review as a code owner March 9, 2023 15:02
@ghost ghost force-pushed the revisit_aws_scope branch 2 times, most recently from 5910110 to 8002149 Compare March 9, 2023 15:53
@ghost ghost force-pushed the revisit_aws_scope branch from 8002149 to b13a9cb Compare March 10, 2023 08:39
This commit fixes the validation of the AWSScope type so that if you
provide invalid properties or miss some required properties it errors.

It renames the "all" field to "allRegions" which better describes what
the flag does.
@ghost ghost force-pushed the revisit_aws_scope branch from b13a9cb to 03f0271 Compare March 10, 2023 13:24
@ghost ghost merged commit a3fdcb2 into main Mar 10, 2023
@ghost ghost deleted the revisit_aws_scope branch March 10, 2023 14:01
This pull request was closed.
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.

None yet

3 participants