{"id":20334929,"url":"https://github.com/mdb/terraform-advanced-logic-demo","last_synced_at":"2026-06-08T15:31:33.464Z","repository":{"id":137137963,"uuid":"564762194","full_name":"mdb/terraform-advanced-logic-demo","owner":"mdb","description":"A demo Terraform configuration illustrating a few semi-advanced Terraform capabilities, namely the expression of moderately complex logic.","archived":false,"fork":false,"pushed_at":"2022-12-16T19:34:45.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-17T16:55:31.309Z","etag":null,"topics":["reference-implementation","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/mdb.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-11T12:45:53.000Z","updated_at":"2023-01-03T17:42:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a07ef682-3e55-491e-a178-5bd8fe16a3a3","html_url":"https://github.com/mdb/terraform-advanced-logic-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdb/terraform-advanced-logic-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-advanced-logic-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-advanced-logic-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-advanced-logic-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-advanced-logic-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/terraform-advanced-logic-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fterraform-advanced-logic-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069489,"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-08T02:00:07.615Z","response_time":111,"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":["reference-implementation","terraform"],"created_at":"2024-11-14T20:38:36.528Z","updated_at":"2026-06-08T15:31:33.448Z","avatar_url":"https://github.com/mdb.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Terraform](https://github.com/mdb/terraform-advanced-logic-demo/actions/workflows/main.yaml/badge.svg)](https://github.com/mdb/terraform-advanced-logic-demo/actions/workflows/main.yaml)\n\n# terraform-advanced-logic-demo\n\nA demo Terraform configuration illustrating a few semi-advanced Terraform capabilities, namely the expression of moderately complex logic.\n\n`terraform-advanced-logic-demo` is the reference example accompanying the [Advanced Terraform Logic](https://mikeball.info/blog/advanced-terraform-logic/) blog post.\n\n## Try it out\n\nThe Terraform configuration assumes the existence of a `GITHUB_TOKEN` environment variable whose value is an authorized [GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\n\nThe Terraform configuration also assumes a local Grafana instance is running. To start a local Grafana:\n\n```\nmake grafana\n```\n\nRun `terraform plan`:\n\n```\nmake tf-plan\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fterraform-advanced-logic-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fterraform-advanced-logic-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fterraform-advanced-logic-demo/lists"}