File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ data "github_user" "current" {
1717}
1818
1919resource "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
3939The 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.
You can’t perform that action at this time.
0 commit comments