{"id":19019361,"url":"https://github.com/ditsuke/terraform-bad-json","last_synced_at":"2026-06-19T04:32:11.082Z","repository":{"id":133707036,"uuid":"561741952","full_name":"ditsuke/terraform-bad-json","owner":"ditsuke","description":"Stop yourself from breaking your CI pipelines with this terraform gotcha","archived":false,"fork":false,"pushed_at":"2022-11-04T11:51:46.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T18:15:17.953Z","etag":null,"topics":["terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ditsuke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T11:43:22.000Z","updated_at":"2023-04-16T12:10:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca5a1368-276d-4be0-b329-1de685ad1456","html_url":"https://github.com/ditsuke/terraform-bad-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ditsuke/terraform-bad-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditsuke%2Fterraform-bad-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditsuke%2Fterraform-bad-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditsuke%2Fterraform-bad-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditsuke%2Fterraform-bad-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ditsuke","download_url":"https://codeload.github.com/ditsuke/terraform-bad-json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditsuke%2Fterraform-bad-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34517748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["terraform"],"created_at":"2024-11-08T20:12:05.806Z","updated_at":"2026-06-19T04:32:11.066Z","avatar_url":"https://github.com/ditsuke.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Broken JSON in Terraform\n\nThis repo is a minimum reproducible example of invalid JSON strings introduced through the\nuse of templates in terraform. It does so by rendering a templatized JSON with a variable\nand then trying to decode it to a terraform native object.\n\nIf the JSON has an unsanitized value, terraform is unable to decode it.\n\nTo test, run `terraform init` to initialize terraform state and providers, followed by a\n`terraform plan --var 'VAL=good'` to see it work, then a `terraform plan --var 'VAL=\"bad'` to\nsee it fail because of an unsanitized value in the JSON.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditsuke%2Fterraform-bad-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fditsuke%2Fterraform-bad-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditsuke%2Fterraform-bad-json/lists"}