Provides a module to get metadata from the git repo [i.e. a terraform module]. These output values can be used to tag resources created by a module.
No requirements.
Name | Version |
---|---|
external | n/a |
No input.
Name | Description |
---|---|
all | Single map with all git metadata |
ref | Abbreviated reference for current HEAD. Typically returns the current branch name. |
sha | Commit SHA for current HEAD |
url | URL for remote repository named 'origin' |