{"id":21496010,"url":"https://github.com/devops-infra/action-terraform-validate","last_synced_at":"2025-07-15T19:32:16.180Z","repository":{"id":39711442,"uuid":"253243570","full_name":"devops-infra/action-terraform-validate","owner":"devops-infra","description":"GitHub Action that will run terraform validate.","archived":false,"fork":false,"pushed_at":"2024-10-29T07:36:57.000Z","size":136,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T08:25:39.371Z","etag":null,"topics":["automation","christophshyper","ci-cd","docker","github-actions","terraform"],"latest_commit_sha":null,"homepage":"https://christophshyper.github.io/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devops-infra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-05T13:38:49.000Z","updated_at":"2024-10-29T07:37:00.000Z","dependencies_parsed_at":"2023-10-02T10:59:02.331Z","dependency_job_id":"91587e17-23e9-49b8-b9c5-88733f9cbfb9","html_url":"https://github.com/devops-infra/action-terraform-validate","commit_stats":{"total_commits":55,"total_committers":5,"mean_commits":11.0,"dds":0.5636363636363637,"last_synced_commit":"ce248d1e520af14839e628b3620373a2d025dcc0"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-infra%2Faction-terraform-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-infra%2Faction-terraform-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-infra%2Faction-terraform-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-infra%2Faction-terraform-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-infra","download_url":"https://codeload.github.com/devops-infra/action-terraform-validate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226064520,"owners_count":17568036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","christophshyper","ci-cd","docker","github-actions","terraform"],"created_at":"2024-11-23T16:14:27.723Z","updated_at":"2024-11-23T16:14:28.272Z","avatar_url":"https://github.com/devops-infra.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action validating Terraform modules\n\n**GitHub Action automatically validating Terraform modules.**\n\nDockerized as [devopsinfra/action-terraform-validate](https://hub.docker.com/repository/docker/devopsinfra/action-terraform-validate).\n\nFeatures:\n* Main action is using `terraform validate`.\n* It's a stripped down image of my other creation - [devops-infra/docker-terragrunt](https://github.com/devops-infra/docker-terragrunt) - framework for managing Infrastructure-as-a-Code.\n* it's main use will be everywhere where [Terraform](https://github.com/hashicorp/terraform) is used and is great for statically or actively checking modules' sources.\n\n\n## Badge swag\n[![Master branch](https://github.com/devops-infra/action-terraform-validate/workflows/Master%20branch/badge.svg)](https://github.com/devops-infra/action-terraform-validate/actions?query=workflow%3A%22Master+branch%22)\n[![Other branches](https://github.com/devops-infra/action-terraform-validate/workflows/Other%20branches/badge.svg)](https://github.com/devops-infra/action-terraform-validate/actions?query=workflow%3A%22Other+branches%22)\n\u003cbr\u003e\n[\n![GitHub repo](https://img.shields.io/badge/GitHub-devops--infra%2Faction--terraform--validate-blueviolet.svg?style=plastic\u0026logo=github)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/devops-infra/action-terraform-validate?color=blueviolet\u0026label=Code%20size\u0026style=plastic\u0026logo=github)\n![GitHub last commit](https://img.shields.io/github/last-commit/devops-infra/action-terraform-validate?color=blueviolet\u0026logo=github\u0026style=plastic\u0026label=Last%20commit)\n![GitHub license](https://img.shields.io/github/license/devops-infra/action-terraform-validate?color=blueviolet\u0026logo=github\u0026style=plastic\u0026label=License)\n](https://github.com/devops-infra/action-terraform-validate \"shields.io\")\n\u003cbr\u003e\n[\n![DockerHub](https://img.shields.io/badge/DockerHub-devopsinfra%2Faction--terraform--validate-blue.svg?style=plastic\u0026logo=docker)\n![Docker version](https://img.shields.io/docker/v/devopsinfra/action-terraform-validate?color=blue\u0026label=Version\u0026logo=docker\u0026style=plastic)\n![Image size](https://img.shields.io/docker/image-size/devopsinfra/action-terraform-validate/latest?label=Image%20size\u0026style=plastic\u0026logo=docker)\n![Docker Pulls](https://img.shields.io/docker/pulls/devopsinfra/action-terraform-validate?color=blue\u0026label=Pulls\u0026logo=docker\u0026style=plastic)\n](https://hub.docker.com/r/devopsinfra/action-terraform-validate \"shields.io\")\n\n\n## Reference\n\n```yaml\n    - name: Validate Terraform modules\n      uses: devops-infra/action-terraform-validate@v0.3.1\n      with:\n        dir_filter: modules\n```\n\n| Input Variable | Required | Default | Description                                                                          |\n| -------------- | -------- | ------- | ------------------------------------------------------------------------------------ |\n| dir_filter     | No       | `*`     | Prefixes or sub-directories to search for Terraform modules. Use comma as separator. |\n\n## Examples\n\nValidate whole Terraform setup in repository root. Run the Action via GitHub.\n```yaml\nname: Validate Terraform\non:\n  push\njobs:\n  terraform-validate:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Validate Terraform configuration\n      uses: devops-infra/action-terraform-validate@v0.3.1\n```\n\nValidate Terraform modules only in `modules/aws` and `modules/gcp` directories. Run the Action via DockerHub.\n```yaml\nname: Validate Terraform\non:\n  push\njobs:\n  terraform-validate:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Validate Terraform modules\n      uses: devops-infra/action-terraform-validate@v0.3.1\n      with:\n        dir_filter: modules/aws,modules/gcp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-infra%2Faction-terraform-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-infra%2Faction-terraform-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-infra%2Faction-terraform-validate/lists"}