-
Notifications
You must be signed in to change notification settings - Fork 909
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 "inconsistent conditional result types" error in modules/vpc-sc
#2676
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Thanks, I just wonder why you edit the ingress policy examples but the change to the factory code is for egress. :) |
I thought it would be enough to just customize the ingress part of the example-based test. I can also extend the egress part as well if you like. The adjustments in the code affect both ingress and egress. |
Thanks for clarifying. My preference would be to leave the current examples as is, and add an extra set of YAML/code rules to cover this case. It makes it easier to assess changes. |
No problem. I have reverted the changes to the current examples and added an extra set of YAML/code rules to cover this case instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot for this!
This PR fixes the issue described in issue #2675. I've also adapted one of the example based tests so that the incorrect behavior is checked in the future.
Checklist
I applicable, I acknowledge that I have:
terraform fmt
on all modified filestools/tfdoc.py