devops-infra/GitHub Action coping Terraform variables across modules
GitHub Action automatically copying variables' definitions from a single file to many modules
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dirs_with_modules | Comma separated list of directory prefixes with modules | no | terraform |
| files_with_vars | Comma separated list of files containing variables in directories matching dirs_with_modules | no | variables.tf |
| all_vars_file | Name of a file containing base definitions of all variables | no | all-variables.tf |
| fail_on_missing | Whether action should fail if all_vars_file is missing some definitions from modules | no | false |
Outputs
| name | description |
|---|---|
| files_changed | List of updated files |