Skip to content

Commit

Permalink
add description for datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-medvedev-codefresh committed Jun 2, 2024
1 parent 28710ae commit 7fd5cb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions codefresh/data_account_gitops_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,22 @@ func dataSourceAccountGitopsSettings() *schema.Resource {
"name": {
Type: schema.TypeString,
Computed: true,
Description: "Account name for active account",
},
"git_provider": {
Type: schema.TypeString,
Computed: true,
Description: "Git provider name",
},
"git_provider_api_url": {
Type: schema.TypeString,
Computed: true,
Description: "Git provider API url",
},
"shared_config_repository": {
Type: schema.TypeString,
Computed: true,
Description: "Codefresh shared config repository url",
},
"admins": {
Type: schema.TypeList,
Expand Down
8 changes: 4 additions & 4 deletions docs/data-sources/account_gitops_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ This data source retrieves gitops settings for the active account
### Read-Only

- `admins` (List of String)
- `git_provider` (String)
- `git_provider_api_url` (String)
- `git_provider` (String) Git provider name
- `git_provider_api_url` (String) Git provider API url
- `id` (String) Account Id
- `name` (String)
- `shared_config_repository` (String)
- `name` (String) Account name for active account
- `shared_config_repository` (String) Codefresh shared config repository url


0 comments on commit 7fd5cb3

Please sign in to comment.