{"id":28951043,"url":"https://github.com/nrkno/github-workflow-terraform-config","last_synced_at":"2026-04-02T20:03:24.162Z","repository":{"id":36961554,"uuid":"504232810","full_name":"nrkno/github-workflow-terraform-config","owner":"nrkno","description":"Reusable GitHub workflow for validating a Terraform configuration repository.","archived":false,"fork":false,"pushed_at":"2026-03-31T11:06:50.000Z","size":337,"stargazers_count":6,"open_issues_count":6,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-03-31T13:12:44.032Z","etag":null,"topics":["github-actions","github-workflow","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nrkno.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-16T16:42:30.000Z","updated_at":"2026-03-31T11:05:19.000Z","dependencies_parsed_at":"2023-11-07T11:28:00.491Z","dependency_job_id":"b7c94a38-3379-4f7c-9310-3ee167f5cd57","html_url":"https://github.com/nrkno/github-workflow-terraform-config","commit_stats":null,"previous_names":[],"tags_count":252,"template":false,"template_full_name":null,"purl":"pkg:github/nrkno/github-workflow-terraform-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fgithub-workflow-terraform-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fgithub-workflow-terraform-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fgithub-workflow-terraform-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fgithub-workflow-terraform-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrkno","download_url":"https://codeload.github.com/nrkno/github-workflow-terraform-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fgithub-workflow-terraform-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31314824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github-actions","github-workflow","terraform"],"created_at":"2025-06-23T14:07:55.294Z","updated_at":"2026-04-02T20:03:24.131Z","avatar_url":"https://github.com/nrkno.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-workflow-terraform-config\n\nReusable GitHub workflow for validating a Terraform configuration repository.\n\n## Usage\n\nYou must set permissions in order to add the required id-token permissions which is off by default.\n\n```yaml\npermissions:\n  id-token: write\n  contents: read\n  pull-requests: write\n\nname: Terraform\nuses: nrkno/github-workflow-terraform-config/.github/workflows/workflow.yaml@v4.0.0\n  with:\n    # inputs\n  secrets:\n    # secrets\n```\n\n\u003c!-- autodoc start --\u003e\n### Inputs\n- `terraform-job-enabled` (boolean, default `true`) - Enable the Terraform checks\n- `terraform-version` (string, default `\"latest\"`) - Version of Terraform to use\n- `working-directory` (string, default `\".\"`) - Working directory for all workflow operations, unless documented otherwise.\n- `terraform-ignore-files` (string, default `\"\"`) - Comma-separated list of filepaths to remove before running Terraform operations. This is relative to the working-directory argument.\n- `status-comment-enabled` (boolean, default `true`) - Post a status comment in the pull request issue after checks have completed.\n- `status-comment-message` (string, default `\"\"`) - A custom message to append to the status comment.\n- `runs-on` (string, default `\"nrk-azure-intern\"`) - Defines the type of machine to run the jobs on.\n- `trivy-job-enabled` (boolean, default `true`) - Scan repository for IaC vulnerabilities using Trivy.\n- `trivy-ignore-unfixed` (boolean, default `true`) - Ignore vulnerabilities that do not have a known fix.\n- `trivy-sbom-enabled` (boolean, default `false`) - Generate a Software Bill of Materials (SBOM) report.\n- `trivy-severity` (string, default `\"MEDIUM,HIGH,CRITICAL\"`) - Comma-separated list of severity levels that should trigger errors.\n- `trivy-ignore-files` (string, default `\"\"`) - Comma-separated list of paths to .trivyignore files. Paths are relative to the working-directory argument.\n- `trivy-error-is-success` (boolean, default `false`) - Internal: Return successfully only if Trivy finds vulnerabilities.\n- `terraform-docs-job-enabled` (boolean, default `true`) - Automatically update Terraform documentation. https://github.com/terraform-docs/gh-actions#configuration\n- `terraform-docs-config-file` (string, default `\".terraform-docs.yaml\"`) - Path to a Terraform docs configuration file.\n- `terraform-docs-output-file` (string, default `\"README.md\"`) - Path to the file to update the documentation in.\n- `terraform-docs-output-method` (string, default `\"inject\"`) - Method to use for injecting the documentation.\n- `terraform-docs-git-commit-message` (string, default `\"docs: terraform-docs automated update\"`) - Message for the documentation commit.\n- `terraform-docs-git-push` (boolean, default `true`) - Automatically push the commit to the pull request branch.\n- `terraform-docs-fail-on-diff` (boolean, default `true`) - Internal: Fail if there are changes in the documentation.\n- `terraform-docs-recursive` (boolean, default `false`) - Generate documentation recursively for all modules in the working directory.\n- `workflow-ref` (string, default `\"\"`) - Internal: Specify the Git ref to use when the workflow is checking out its own repository. Pass an empty string for auto-detection.\n\n### Secrets\n- `registries`\n\u003c!-- autodoc end --\u003e\n\n## Developing\n\nThe workflow definition resides in [.github/workflows/workflow.yaml](./.github/workflows/workflow.yaml).\n\n## References\n\n- https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callinputs\n- https://docs.github.com/en/actions/using-workflows/reusing-workflows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fgithub-workflow-terraform-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrkno%2Fgithub-workflow-terraform-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fgithub-workflow-terraform-config/lists"}