Better HN
topnewbestaskshowjobs
Log inSign up

mbarneyme

32 karma · joined Oct 16, 2019 (7y ago) · 12 submissions

Submissions

comment 7mo ago · link · parent

Sharing something I've been working on lately: an AWS IAM Language Server (and VSCode extension). Use it with any editor that supports LSP

It can emit diagnostics for invalid actions, messed up regions/account ids, duplicate sids, etc. It also gives you completion for actions, arns, condition operators, context keys, etc

It also supports policies defined in any YAML, JSON, or Terraform/OpenTofu file, at any nested level, so your policies defined within a CloudFormation resource will be picked up

Check out the repo for more, feel free to open an issue if you have issues: https://github.com/mbarneyjr/aws-iam-language-server

If you use vscode you can get the extension here: https://marketplace.visualstudio.com/items?itemName=MichaelB...

Demo video: https://x.com/mbarneyjr/status/2039329871843729809

2.

AWS IAM Language Server(github.com ↗)

2 points · by mbarneyme · 7mo ago · 1 comment

3.

Cfn-changeset-viewer – Terraform plan-like output for CloudFormation ChangeSets(github.com ↗)

1 points · by mbarneyme · 1y ago · discuss

comment 1y ago · link · parent

I'm consistently hitting weird bugs with opencode, like escape codes not being handled correctly so the tui output looks awful, or it hanging on the first startup. Maybe after they migrate to opentui it'll be better

I do like the model selection with opencode though

5.

Cfn-changeset-viewer – Terraform plan-like output for CloudFormation ChangeSets(github.com ↗)

2 points · by mbarneyme · 2y ago · discuss

comment 2y ago · link · parent

JSDoc provides the exact same level of type safety as TypeScript, because the TypeScript Language Server/CLI themselves are what does the type checking. Using JSDoc removes the need to transpile your code before executing it. You still want to type-check your code (with a `tsc --noEmit` or similar) in CI, just like you'd run unit tests/a linter/etc.

7.

An Experimental Cloudformation language server(github.com ↗)

1 points · by mbarneyme · 2y ago · discuss

comment 3y ago · link · parent

https://sso.tax/

comment 4y ago · link · parent

I think they mean "deterministic," not "immutable"

comment 4y ago · link · parent

Do you have those commands handy by chance? :D

11.

AWS Xray Xplained(trek10.com ↗)

2 points · by mbarneyme · 5y ago · discuss