Skip to content

Commit

Permalink
updated example of usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Bakhmetev committed Sep 13, 2024
1 parent c9c9739 commit ec1e530
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,9 @@ The repository is organized as follows:

## Usage

Terraform will recognize unprefixed github.com URLs and interpret them automatically as Git repository sources.
```
module "example" {
source = "github.com/devoteam/terraform-modules/example"
}
```

The above address scheme will clone over HTTPS. To clone over SSH, use the following form:
```
module "example" {
source = "[email protected]:devoteam/terraform-modules.git/example"
source = "git::https://github.com/devoteam/terraform-modules.git//example"
}
```
Expand Down

0 comments on commit ec1e530

Please sign in to comment.