You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been scratching my head to find out why my policies on AWS seem to not work but when I build the policies locally they all check out.
There's been a secondary problem I added some diffs, and I get wierd diffs if I push the policies from my mac workstation, vs let them get built and deployed by CI. (I've built a script to push the combined policies into IAM and I use a call to pull down the version already in IAM and diff them to make a decision if I need to kill a version to make room and replace it.)
I finally found some fire for my smoke:
On my local workstation doing a find all case sensitive to the arn I seem to keep missing in my deployed policy.
When I download of all the assets my CI built and deployed, and searched against it case sensitive.
None of the lower case versions of "arn:aws:s3:::sagemaker/*" are to be found in the CI built wonk policies.
So I'm assuming there is something environment influencing whether the deduping is happening in a case insensitive fashion. Either linux level, or perhaps python level. I need to find the way to force it to be case sensitive.
The text was updated successfully, but these errors were encountered:
donnoman
changed the title
It appears possibly that the platform you run wonk on impacts how case sensitive resources get deduped.
It appears that the platform you run wonk may impact how case sensitive resources get deduped.
Aug 17, 2022
I've been scratching my head to find out why my policies on AWS seem to not work but when I build the policies locally they all check out.
There's been a secondary problem I added some diffs, and I get wierd diffs if I push the policies from my mac workstation, vs let them get built and deployed by CI. (I've built a script to push the combined policies into IAM and I use a call to pull down the version already in IAM and diff them to make a decision if I need to kill a version to make room and replace it.)
I finally found some fire for my smoke:
On my local workstation doing a find all case sensitive to the arn I seem to keep missing in my deployed policy.
When I download of all the assets my CI built and deployed, and searched against it case sensitive.
None of the lower case versions of "arn:aws:s3:::sagemaker/*" are to be found in the CI built wonk policies.
Of these resources
The resulting policies when deployed by my CI only the following version survives,
when I build the policies locally I can find all of the entries in my combined policies.
So I'm assuming there is something environment influencing whether the deduping is happening in a case insensitive fashion. Either linux level, or perhaps python level. I need to find the way to force it to be case sensitive.
The text was updated successfully, but these errors were encountered: