{"id":21664389,"url":"https://github.com/wayofdev/gh-actions-terragrunt","last_synced_at":"2026-05-11T03:47:17.494Z","repository":{"id":207587764,"uuid":"718333051","full_name":"wayofdev/gh-actions-terragrunt","owner":"wayofdev","description":"Github Actions mono-repository for usage with Terragrunt.","archived":false,"fork":false,"pushed_at":"2025-02-12T23:51:18.000Z","size":74,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T00:29:46.574Z","etag":null,"topics":["actions","github-action","github-actions","terraform","terragrunt","wayofdev","wod"],"latest_commit_sha":null,"homepage":"https://wayof.dev","language":"Python","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/wayofdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"wayofdev"}},"created_at":"2023-11-13T21:38:20.000Z","updated_at":"2023-11-21T09:47:57.000Z","dependencies_parsed_at":"2024-01-08T13:25:58.107Z","dependency_job_id":"b381ccbc-732a-43fc-bf72-8c03b89e5122","html_url":"https://github.com/wayofdev/gh-actions-terragrunt","commit_stats":null,"previous_names":["wayofdev/gh-actions-terragrunt"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayofdev%2Fgh-actions-terragrunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayofdev%2Fgh-actions-terragrunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayofdev%2Fgh-actions-terragrunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayofdev%2Fgh-actions-terragrunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayofdev","download_url":"https://codeload.github.com/wayofdev/gh-actions-terragrunt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560392,"owners_count":20472220,"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":["actions","github-action","github-actions","terraform","terragrunt","wayofdev","wod"],"created_at":"2024-11-25T10:37:22.641Z","updated_at":"2026-05-11T03:47:12.468Z","avatar_url":"https://github.com/wayofdev.png","language":"Python","funding_links":["https://github.com/sponsors/wayofdev"],"categories":[],"sub_categories":[],"readme":"# Terragrunt GitHub Actions \n\nTerragrunt is a popular open-source tool that works in conjunction with Terraform, another infrastructure-as-code tool. It helps manage and organize your Terraform configurations, making it easier to work with large or complex infrastructure deployments. Terragrunt adds several features and improvements on top of Terraform\n\n\nThis is a suite of terragrunt related GitHub Actions that can be used together to build effective Infrastructure as Code workflows.\n\n## Actions\nSee the documentation for the available actions:\n\n- [wayofdev/gh-action-terragrunt-plan](gh-action-terragrunt-plan)\n- [wayofdev/gh-action-terragrunt-apply](gh-action-terragrunt-apply)\n\n\n## Example Usage\nHere are some examples of how the terragrunt actions can be used together in workflows.\n\n### Terragrunt plan \n\nTerraform plans typically need to be reviewed by a human before being applied.\nFortunately, GitHub has a well established method for requiring human reviews of changes - a Pull Request.\n\nWe can use PRs to safely plan and apply infrastructure changes.\n\n\nYou can make GitHub enforce this using branch protection.\n\n#### plan.yaml\nThis workflow runs on changes to a PR branch. It generates a terraform plan for each module in provided path and attaches it to the PR as a comment.\n\n```yaml\nname: Create a terraform plan\n\non:\n  workflow_call:\n\njobs:\n  plan:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the codebase\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Create plan\n        uses: wayofdev/gh-action-terragrunt-plan@v1\n        with:\n          path: my-terraform-config\n          tg_version: '0.52.4'\n          tf_version: '1.5.7'\n          destroy: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n```\n\n#### apply.yaml\nThis workflow runs when the PR is merged into the main branch, and applies the planned changes.\n\n```yaml\nname: Apply terraform plan\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  apply:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Apply plan\n        uses: wayofdev/gh-action-terragrunt-apply@v1\n        with:\n          path: my-terraform-config\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayofdev%2Fgh-actions-terragrunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayofdev%2Fgh-actions-terragrunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayofdev%2Fgh-actions-terragrunt/lists"}