Skip to content

Commit 4e45222

Browse files
authored
Documentation fix on github_repository_environment (#829)
This PR will fix the documentation about the `github_repository_environment` resource, where one of the parameters where named wrong.
1 parent 0955a39 commit 4e45222

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/r/repository_environment.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ data "github_user" "current" {
1717
}
1818
1919
resource "github_repository" "example" {
20-
name = "example"
20+
environment = "example"
2121
description = "My awesome codebase"
2222
}
2323
@@ -38,7 +38,7 @@ resource "github_repository_environment" "example" {
3838

3939
The following arguments are supported:
4040

41-
* `name` - (Required) The name of the environment.
41+
* `environment` - (Required) The name of the environment.
4242

4343
* `repository` - (Required) The repository of the environment.
4444

@@ -58,4 +58,4 @@ The `deployment_branch_policy` block supports the following:
5858

5959
* `protected_branches` - (Required) Whether only branches with branch protection rules can deploy to this environment.
6060

61-
* `custom_branch_policies` - (Required) Whether only branches that match the specified name patterns can deploy to this environment.
61+
* `custom_branch_policies` - (Required) Whether only branches that match the specified name patterns can deploy to this environment.

0 commit comments

Comments
 (0)