deliveredtechnologies / terraform-maven

Terraform Maven Plugin
Apache License 2.0
42 stars 13 forks source link

source dependencies from git #82

Open Clayton7510 opened 5 years ago

Clayton7510 commented 5 years ago

The Terraform Maven Plugin was designed to source dependencies from a Maven repo and piggyback off of Maven's native functionality to bring dependency management to Terraform. But Terraform configurations made available via a git URL also have a problem with dependency management; dependencies and their versions are still hardcoded in the Terraform source. Let's fix that!

Initial thoughts:

The Terraform Maven plugin could support a custom type called "git", which would signal to Terraform Maven that the dependency is a git repo. The artifactId could be repo name, the version could be the tag and the groupId could correspond to the base url + group/project.