Skip to content

Commit

Permalink
auth: add some description to resource and data source
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
  • Loading branch information
MrFreezeex committed Jun 24, 2022
1 parent 4ee4809 commit 96fb4be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions ceph/data_source_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

func dataSourceAuth() *schema.Resource {
return &schema.Resource{
Description: "This data source allows you to get information about a ceph client.",
ReadContext: dataSourceAuthRead,

Schema: map[string]*schema.Schema{
Expand Down
1 change: 1 addition & 0 deletions ceph/resource_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type authResponse struct {

func resourceAuth() *schema.Resource {
return &schema.Resource{
Description: "This resource allows you to create a ceph client and retrieve his key and/or keyring.",
CreateContext: resourceAuthCreate,
ReadContext: resourceAuthRead,
UpdateContext: resourceAuthUpdate,
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "ceph_auth Data Source - terraform-provider-ceph"
subcategory: ""
description: |-
This data source allows you to get information about a ceph client.
---

# ceph_auth (Data Source)


This data source allows you to get information about a ceph client.



Expand Down
4 changes: 2 additions & 2 deletions docs/resources/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "ceph_auth Resource - terraform-provider-ceph"
subcategory: ""
description: |-
This resource allows you to create a ceph client and retrieve his key and/or keyring.
---

# ceph_auth (Resource)


This resource allows you to create a ceph client and retrieve his key and/or keyring.



Expand Down

0 comments on commit 96fb4be

Please sign in to comment.