Used terraform modules.
module "do" {
source = "git::https://github.com/a-kataev/terraform-modules.git//digitalocean"
}
Clone this repository to directory modules
:
$ git clone [email protected]:a-kataev/terraform-modules ./modules
Use local path in module source:
module "do" {
source = "./modules/digitalocean"
}