mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
parent
c4af5b2e9a
commit
160c87a3e3
@ -124,9 +124,15 @@ to Terraform (using the forced source type syntax documented below) to use
|
||||
Git:
|
||||
|
||||
```
|
||||
// force https source
|
||||
module "consul" {
|
||||
source = "git::https://hashicorp.com/module.git"
|
||||
}
|
||||
|
||||
// force ssh source
|
||||
module "ami" {
|
||||
source = "git::ssh://git@github.com/owner/repo.git"
|
||||
}
|
||||
```
|
||||
|
||||
URLs for Git repositories (of any protocol) support the following query
|
||||
|
Loading…
Reference in New Issue
Block a user