<@U0406GP1HDZ> I wanted to follow up on my PR <htt...
# development
n
@AJ Kerrigan I wanted to follow up on my PR https://github.com/cloud-custodian/cloud-custodian/pull/10261. I see it has been approved but not yet merged. Is there anything else I need to do, or will you merge it later as part of the release process?
a
The last update I see is that we both feel like the change as-is doesn't seem to handle
operator: or
properly
n
@AJ Kerrigan Sorry, I'm not clear on what needs to be done here. Is it good as-is, or do you want me to change something? Would it be possible for you to go ahead and modify my PR?
a
I'm thinking something like this (may still need tweaks, but hopefully conveys the idea): https://github.com/naohito-intuit/cloud-custodian/pull/1
Since we're doing an and/or against multiple different optional checks, we probably want to implicitly pass them if the policy doesn't opt into a check. So we should be able to do
Copy code
filters:
      - type: subnet
        operator: or
        igw: True
        nat: True
And have it catch what you want to catch, without having the noise or logical wrinkle of the SubnetId: present piece.
n
@AJ Kerrigan Thanks! I will make the change and test it again.