├── .github ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ └── main.yml ├── .gitignore ├── .talismanrc ├── .tool-versions ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── converter ├── convert.go ├── convert_test.go ├── decode.go ├── decode_test.go ├── encode.go └── fixtures │ ├── empty-policy.json │ ├── empty-policy.tf │ ├── error-broken.json │ ├── error-cloudformation-snippet.json │ ├── error-no-statements.json │ ├── simple.json │ ├── simple.tf │ ├── single-statement.json │ ├── single-statement.tf │ ├── tf-interpolations.json │ └── tf-interpolations.tf ├── go ├── go.mod ├── go.sum ├── iam-policy-json-to-terraform.go ├── revive.toml ├── scripts ├── deploy-github-pages.sh ├── release.sh └── test-readme.sh └── web ├── app.css ├── app.js ├── backstop.js ├── backstop_data ├── bitmaps_reference │ ├── backstop_default_Normal_0_document_0_phone.png │ ├── backstop_default_Normal_0_document_1_tablet.png │ ├── backstop_default_With_Infos_Expanded_0_document_0_phone.png │ └── backstop_default_With_Infos_Expanded_0_document_1_tablet.png └── engine_scripts │ ├── cookies.json │ ├── imageStub.jpg │ ├── playwright │ ├── clickAndHoverHelper.js │ ├── interceptImages.js │ ├── loadCookies.js │ ├── onBefore.js │ ├── onReady.js │ └── overrideCSS.js │ └── puppet │ ├── clickAndHoverHelper.js │ ├── ignoreCSP.js │ ├── interceptImages.js │ ├── loadCookies.js │ ├── onBefore.js │ ├── onReady.js │ └── overrideCSS.js ├── img └── GitHub-Mark-Light-32px.png ├── index.html ├── package-lock.json ├── package.json ├── web.go ├── web_test.go └── web_test.js /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/.gitignore -------------------------------------------------------------------------------- /.talismanrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/.talismanrc -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | golang 1.24.0 2 | nodejs 22.20.0 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/README.md -------------------------------------------------------------------------------- /converter/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/convert.go -------------------------------------------------------------------------------- /converter/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/convert_test.go -------------------------------------------------------------------------------- /converter/decode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/decode.go -------------------------------------------------------------------------------- /converter/decode_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/decode_test.go -------------------------------------------------------------------------------- /converter/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/encode.go -------------------------------------------------------------------------------- /converter/fixtures/empty-policy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/empty-policy.json -------------------------------------------------------------------------------- /converter/fixtures/empty-policy.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/empty-policy.tf -------------------------------------------------------------------------------- /converter/fixtures/error-broken.json: -------------------------------------------------------------------------------- 1 | { 2 | -------------------------------------------------------------------------------- /converter/fixtures/error-cloudformation-snippet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/error-cloudformation-snippet.json -------------------------------------------------------------------------------- /converter/fixtures/error-no-statements.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /converter/fixtures/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/simple.json -------------------------------------------------------------------------------- /converter/fixtures/simple.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/simple.tf -------------------------------------------------------------------------------- /converter/fixtures/single-statement.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/single-statement.json -------------------------------------------------------------------------------- /converter/fixtures/single-statement.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/single-statement.tf -------------------------------------------------------------------------------- /converter/fixtures/tf-interpolations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/tf-interpolations.json -------------------------------------------------------------------------------- /converter/fixtures/tf-interpolations.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/converter/fixtures/tf-interpolations.tf -------------------------------------------------------------------------------- /go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/go.sum -------------------------------------------------------------------------------- /iam-policy-json-to-terraform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/iam-policy-json-to-terraform.go -------------------------------------------------------------------------------- /revive.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/revive.toml -------------------------------------------------------------------------------- /scripts/deploy-github-pages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/scripts/deploy-github-pages.sh -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /scripts/test-readme.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/scripts/test-readme.sh -------------------------------------------------------------------------------- /web/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/app.css -------------------------------------------------------------------------------- /web/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/app.js -------------------------------------------------------------------------------- /web/backstop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop.js -------------------------------------------------------------------------------- /web/backstop_data/bitmaps_reference/backstop_default_Normal_0_document_0_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/bitmaps_reference/backstop_default_Normal_0_document_0_phone.png -------------------------------------------------------------------------------- /web/backstop_data/bitmaps_reference/backstop_default_Normal_0_document_1_tablet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/bitmaps_reference/backstop_default_Normal_0_document_1_tablet.png -------------------------------------------------------------------------------- /web/backstop_data/bitmaps_reference/backstop_default_With_Infos_Expanded_0_document_0_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/bitmaps_reference/backstop_default_With_Infos_Expanded_0_document_0_phone.png -------------------------------------------------------------------------------- /web/backstop_data/bitmaps_reference/backstop_default_With_Infos_Expanded_0_document_1_tablet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/bitmaps_reference/backstop_default_With_Infos_Expanded_0_document_1_tablet.png -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/cookies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/cookies.json -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/imageStub.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/imageStub.jpg -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/clickAndHoverHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/clickAndHoverHelper.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/interceptImages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/interceptImages.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/loadCookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/loadCookies.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/onBefore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/onBefore.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/onReady.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/onReady.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/playwright/overrideCSS.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/playwright/overrideCSS.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/clickAndHoverHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/clickAndHoverHelper.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/ignoreCSP.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/ignoreCSP.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/interceptImages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/interceptImages.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/loadCookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/loadCookies.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/onBefore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/onBefore.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/onReady.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/onReady.js -------------------------------------------------------------------------------- /web/backstop_data/engine_scripts/puppet/overrideCSS.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/backstop_data/engine_scripts/puppet/overrideCSS.js -------------------------------------------------------------------------------- /web/img/GitHub-Mark-Light-32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/img/GitHub-Mark-Light-32px.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/index.html -------------------------------------------------------------------------------- /web/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/package-lock.json -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/package.json -------------------------------------------------------------------------------- /web/web.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/web.go -------------------------------------------------------------------------------- /web/web_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/web_test.go -------------------------------------------------------------------------------- /web/web_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flosell/iam-policy-json-to-terraform/HEAD/web/web_test.js --------------------------------------------------------------------------------