Skip to content

Commit 7fd5cb3

Browse files
add description for datasource
1 parent 28710ae commit 7fd5cb3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

codefresh/data_account_gitops_settings.go

+4
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,22 @@ func dataSourceAccountGitopsSettings() *schema.Resource {
2020
"name": {
2121
Type: schema.TypeString,
2222
Computed: true,
23+
Description: "Account name for active account",
2324
},
2425
"git_provider": {
2526
Type: schema.TypeString,
2627
Computed: true,
28+
Description: "Git provider name",
2729
},
2830
"git_provider_api_url": {
2931
Type: schema.TypeString,
3032
Computed: true,
33+
Description: "Git provider API url",
3134
},
3235
"shared_config_repository": {
3336
Type: schema.TypeString,
3437
Computed: true,
38+
Description: "Codefresh shared config repository url",
3539
},
3640
"admins": {
3741
Type: schema.TypeList,

docs/data-sources/account_gitops_settings.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ This data source retrieves gitops settings for the active account
1818
### Read-Only
1919

2020
- `admins` (List of String)
21-
- `git_provider` (String)
22-
- `git_provider_api_url` (String)
21+
- `git_provider` (String) Git provider name
22+
- `git_provider_api_url` (String) Git provider API url
2323
- `id` (String) Account Id
24-
- `name` (String)
25-
- `shared_config_repository` (String)
24+
- `name` (String) Account name for active account
25+
- `shared_config_repository` (String) Codefresh shared config repository url
2626

2727

0 commit comments

Comments
 (0)