Skip to content

Commit e9f047f

Browse files
committed
fixup! fix: Refactor repository custom property
1 parent c34d74e commit e9f047f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/resources/repository_custom_property.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ For more information, see the [GitHub API documentation](https://docs.github.com
1313
## Example Usage
1414

1515
```terraform
16-
# NOTE: This assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
16+
# NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
1717
1818
resource "github_repository" "example" {
1919
name = "example"
2020
description = "My awesome codebase"
2121
}
2222
23-
resource "github_repository_custom_property" "string" {
23+
resource "github_repository_custom_property" "example" {
2424
repository = github_repository.example.name
25-
property_name = "my-cool-property"
25+
property_name = "my-cool-string"
2626
property_type = "string"
2727
property_value = ["test"]
2828
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# NOTE: This assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
1+
# NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
22

33
resource "github_repository" "example" {
44
name = "example"
55
description = "My awesome codebase"
66
}
77

8-
resource "github_repository_custom_property" "string" {
8+
resource "github_repository_custom_property" "example" {
99
repository = github_repository.example.name
10-
property_name = "my-cool-property"
10+
property_name = "my-cool-string"
1111
property_type = "string"
1212
property_value = ["test"]
1313
}

0 commit comments

Comments
 (0)