Skip to content

Commit

Permalink
Add description to data_source_connector.go file (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sahaqaa authored Jul 5, 2024
1 parent f88e00a commit 6958f75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudconnexa/data_source_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ func dataSourceConnector() *schema.Resource {
Required: true,
Description: "The name of the connector.",
},
"description": {
Type: schema.TypeString,
Computed: true,
Description: "The description of the connector.",
},
"network_item_id": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -62,6 +67,7 @@ func dataSourceConnectorRead(ctx context.Context, d *schema.ResourceData, m inte
return append(diags, diag.FromErr(err)...)
}
d.Set("name", connector.Name)
d.Set("description", connector.Description)
d.Set("network_item_id", connector.NetworkItemId)
d.Set("network_item_type", connector.NetworkItemType)
d.Set("vpn_region_id", connector.VpnRegionId)
Expand Down

0 comments on commit 6958f75

Please sign in to comment.