aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.
Apache License 2.0
748 stars 70 forks source link

Git URL for Module Download #431

Open niCSan opened 2 weeks ago

niCSan commented 2 weeks ago

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.

ericzbeard commented 2 weeks ago

https://github.com/hashicorp/go-getter