Hi, PR for supporting different Filesystem types f...
# development
b
Hi, PR for supporting different Filesystem types for FSx delete action is ready for review: https://github.com/cloud-custodian/cloud-custodian/pull/10391
👀 1
I tried to add the full set of permissions, but for some reason, I'm getting an error on two of the permissions. I double-checked the spelling of the Permissions with the aws docs and they seem correct. Any idea why or if I shouuld just leave these off with a note?
Copy code
FAILED tests/test_iamgen.py::TestIamGen::test_iam_permissions_validity - ValueError: invalid permissions 
 ('fsx.actions.delete', ['fsx:DescribeS3AccessPointAttachments', 'fsx:DetachAndDeleteS3AccessPoint'])
✅ 1
oh I see tests/data/iam-actions.json, maybe I just need to add action there?
seems like that resolved the test
Hi, apologies for bumping this again, would someone mind taking a look at this PR again and if there's anything else needed?
👀 1
a
Context around my latest review comment: Kapil mentioned that it would be good to split out the filesystem-specific operations into separate functions for clarity. Rather than punting that back to you, I opened a sample PR that one or both of you can poke holes in.
👀 1
🎉 1
b
oh that does seem like a good way to organize and clean it up!
let me read through it and then I'll merge it in
Just wanted a small comment to be added for Ontap config, otherwise, it LGTM. Should I wait for Kapil's thoughts before merging it into my branch?
a
+1 to the ontap comment, that makes sense. if it seems like a clarity or organizational win to the two of us and you're comfy with it i'd say go ahead and merge it
my main concern would be "helping" in a way that's counterproductive or breaks stuff, but your tests and eyes help there 🙌
b
merged and added the comment