diff --git a/docs/data-sources/branch.md b/docs/data-sources/branch.md index dd78eae..b945f06 100644 --- a/docs/data-sources/branch.md +++ b/docs/data-sources/branch.md @@ -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" } ``` diff --git a/docs/data-sources/tag.md b/docs/data-sources/tag.md index 89e4537..1ffb63f 100644 --- a/docs/data-sources/tag.md +++ b/docs/data-sources/tag.md @@ -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" } ``` diff --git a/examples/data-sources/git_branch/data-source.tf b/examples/data-sources/git_branch/data-source.tf index a86bc82..81f878e 100644 --- a/examples/data-sources/git_branch/data-source.tf +++ b/examples/data-sources/git_branch/data-source.tf @@ -1,4 +1,4 @@ data "git_branch" "branch" { directory = "/path/to/git/repository" - branch = "name-of-branch" + name = "name-of-branch" } diff --git a/examples/data-sources/git_tag/data-source.tf b/examples/data-sources/git_tag/data-source.tf index 6b3d8a7..f4a7bce 100644 --- a/examples/data-sources/git_tag/data-source.tf +++ b/examples/data-sources/git_tag/data-source.tf @@ -1,4 +1,4 @@ data "git_tag" "tag" { directory = "/path/to/git/repository" - tag = "v1.2.3" + name = "v1.2.3" }