3 ms·
This is really very useful! Thanks to whoever made it.
by jen20 5y ago
This is really very useful! Thanks to whoever made it.
- mdaniel 5y agoThey left the sourcemaps in their build, so one can see the code from the Usage section of sql.js-httpvfs (https://github.com/phiresky/sql.js-httpvfs#usage https://github.com/phiresky/sql.js-httpvfs#usage) copy-pasted into App.tsx, but I didn't find any other identifying text I'd actually guess it was just a copy-paste of the "sqlite over webworker using wasm" demo, backed by the actual sqlite of the actions https://www.awsiam.info/iam.db https://www.awsiam.info/iam.db
- zak_ 5y agoHey there, I'm the creator and you're pretty much spot on. It's using react-table to drive the table functionality but under the hood it's just a SQlite database hooked up with sql.js-httpvfs.
- mdaniel 5y agoGiven this audience, I bet some commentary on how you built the sqlite database, and (related to that) how one can tell how stale the information in it is would be interesting My go to for this kind of all-in-one IAM reference is https://github.com/widdix/complete-aws-iam-reference https://github.com/widdix/complete-aws-iam-reference -> https://iam.cloudonaut.io/ https://iam.cloudonaut.io/ although I guess they stopped paying attention to the issues and PRs in light of their new "use the AWS docs" banner --- Toward that end, I have *long* wanted to be able to rebuild the AWS docs locally, to fix some rendering pet peeves of mine, and it became a raging fire recently when they stopped making the PDF of cfn-ug (https://docs.aws.amazon.com/cloudformation/ https://docs.aws.amazon.com/cloudformation/), so if someone has some local tooling for that, I (and others: https://github.com/awsdocs/amazon-ec2-user-guide/issues/101 https://github.com/awsdocs/amazon-ec2-user-guide/issues/101) would value knowing about it
- zak_ 5y agoYeah I want to add some last updated timestamp to the bottom of the site, I'll probably do that in the next day or so. The data is updated on a weekly cron. I run a small python script that utilizes Parliament's code for downloading the docs pages and parsing them into json. From there, what I did was create a SQL schema with SQLAlchemy and load the json data from the Parliament script. I open sourced the code for anyone curious, it's nothing fancy. https://github.com/zscholl/aws-iam-db https://github.com/zscholl/aws-iam-db I'd seen the cloudonaut site but I kept going back to the AWS docs to answer questions like: "what are all the s3 write actions?" or "what am I actually allowing with S3:get*?" I created this to help solve that problem without googling "aws iam s3 actions" and scrolling down through AWS' pages.