Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorGFM committed Sep 26, 2023
1 parent 00eac9e commit 5ab84b2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cyral/data_source_cyral_system_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (systemInfo *SystemInfo) WriteToSchema(d *schema.ResourceData) error {

func dataSourceSystemInfo() *schema.Resource {
return &schema.Resource{
Description: "Retrieve information from Cyral systems.",
Description: "Retrieve information from Cyral system.",
ReadContext: ReadResource(ResourceOperationConfig{
Name: "SystemInfoDataSourceRead",
HttpMethod: http.MethodGet,
Expand All @@ -43,17 +43,17 @@ func dataSourceSystemInfo() *schema.Resource {
}),
Schema: map[string]*schema.Schema{
IDKey: {
Description: "The data source identifier.",
Description: "Data source identifier.",
Type: schema.TypeString,
Computed: true,
},
ControlPlaneVersionKey: {
Description: "The Control Plane version.",
Description: "Control Plane version.",
Type: schema.TypeString,
Computed: true,
},
SidecarLatestVersionKey: {
Description: "The latest Sidecar version available to this Control Plane.",
Description: "Latest Sidecar version available to this Control Plane.",
Type: schema.TypeString,
Computed: true,
},
Expand Down
21 changes: 21 additions & 0 deletions docs/data-sources/system_info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "cyral_system_info Data Source - terraform-provider-cyral"
subcategory: ""
description: |-
Retrieve information from Cyral system.
---

# cyral_system_info (Data Source)

Retrieve information from Cyral system.

<!-- schema generated by tfplugindocs -->

## Schema

### Read-Only

- `control_plane_version` (String) Control Plane version.
- `id` (String) Data source identifier.
- `sidecar_latest_version` (String) Latest Sidecar version available to this Control Plane.

0 comments on commit 5ab84b2

Please sign in to comment.