You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-8Lines changed: 34 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# GitHub Action coping Terraform variables across modules
1
+
# GitHub Action copying Terraform variables across modules
2
2
**GitHub Action automatically copying variables' definitions from a single file to many modules.**
3
3
4
4
@@ -8,17 +8,17 @@
8
8
9
9
10
10
## ✨ Features
11
-
*It's main use will be everywhere where [Terraform](https://github.com/hashicorp/terraform) is used with *more than one module in a **monorepo***.
11
+
*Its main use will be everywhere where [Terraform](https://github.com/hashicorp/terraform) is used with *more than one module in a **monorepo***.
12
12
* Reads file defined with `all_vars_file` and will use whole definitions of variables from it.
13
13
* For every module matching `dirs_with_modules` will search files matching `files_with_vars` and replace matching variables from `all_vars_file`.
14
-
* To not loose the changes combine with my other action [devops-infra/action-commit-push](https://github.com/devops-infra/action-commit-push).
14
+
* To not lose the changes combine with my other action [devops-infra/action-commit-push](https://github.com/devops-infra/action-commit-push).
15
15
16
16
17
17
## 🔗 Related Actions
18
18
**Perfect for automation workflows and integrates seamlessly with [devops-infra/action-commit-push](https://github.com/devops-infra/action-commit-push).**

@@ -75,7 +75,7 @@ jobs:
75
75
terraform-copy-vars:
76
76
runs-on: ubuntu-latest
77
77
steps:
78
-
- name: Checkout repoistory
78
+
- name: Checkout repository
79
79
uses: actions/checkout@v5
80
80
81
81
- name: Fail on different variables' definitions
@@ -87,14 +87,14 @@ jobs:
87
87
### 🔀 Advanced Example
88
88
Copy variables definitions from `all-variables.tf` to all `variables.tf` in `modules` subdirectories and commit updated files back to the repository using my other action [devops-infra/action-commit-push](https://github.com/devops-infra/action-commit-push).
0 commit comments