Open niCSan opened 2 weeks ago
Actually the !Rain::Module only receive a plain http url .
!Rain::Module
Would be good if it receives a Git URL with git ssh or git http so the consumer template can be like this:
Type: !Rain::Module "https://my-git.repo/repo.git" Type: !Rain::Module "git@my-git.repo/repo.git"
Type: !Rain::Module "https://my-git.repo/repo.git"
Type: !Rain::Module "git@my-git.repo/repo.git"
So it can make use of useful git features like versioning with Git Tags and so on, a similar approach to Terraform modules.
And it will automatically fetch a default .yaml file on the repo and then apply the replacements.
.yaml
https://github.com/hashicorp/go-getter
Actually the
!Rain::Module
only receive a plain http url .Would be good if it receives a Git URL with git ssh or git http so the consumer template can be like this:
Type: !Rain::Module "https://my-git.repo/repo.git"
Type: !Rain::Module "git@my-git.repo/repo.git"
So it can make use of useful git features like versioning with Git Tags and so on, a similar approach to Terraform modules.
And it will automatically fetch a default
.yaml
file on the repo and then apply the replacements.