Skip to content

Commit

Permalink
tag/branch was renamed to 'name' in each data source
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hoß authored and sebhoss committed Aug 20, 2022
1 parent 356fa53 commit 4cf77c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Fetches information about a specific branch of a Git repository.
```terraform
data "git_branch" "branch" {
directory = "/path/to/git/repository"
branch = "name-of-branch"
name = "name-of-branch"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Reads information about a specific tag of a Git repository.
```terraform
data "git_tag" "tag" {
directory = "/path/to/git/repository"
tag = "v1.2.3"
name = "v1.2.3"
}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/git_branch/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
data "git_branch" "branch" {
directory = "/path/to/git/repository"
branch = "name-of-branch"
name = "name-of-branch"
}
2 changes: 1 addition & 1 deletion examples/data-sources/git_tag/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
data "git_tag" "tag" {
directory = "/path/to/git/repository"
tag = "v1.2.3"
name = "v1.2.3"
}

0 comments on commit 4cf77c7

Please sign in to comment.