Update documentation (#298)
* Update documentation * Update stackit/internal/services/redis/credential/resource.go Co-authored-by: João Palet <joao.palet@outlook.com> * Add more info * Update datasource --------- Co-authored-by: João Palet <joao.palet@outlook.com>
This commit is contained in:
parent
3ea0f81900
commit
b79c88e858
6 changed files with 15 additions and 9 deletions
|
|
@ -80,6 +80,7 @@ func (r *credentialDataSource) Schema(_ context.Context, _ datasource.SchemaRequ
|
|||
"credential_id": "The credential's ID.",
|
||||
"instance_id": "ID of the Redis instance.",
|
||||
"project_id": "STACKIT project ID to which the instance is associated.",
|
||||
"uri": "Connection URI. Currently the returned uri doesn't support SSL, but you can enable it by using `rediss://` instead of `redis://`. We will provide the SSL connection in a future release",
|
||||
}
|
||||
|
||||
resp.Schema = schema.Schema{
|
||||
|
|
@ -134,7 +135,8 @@ func (r *credentialDataSource) Schema(_ context.Context, _ datasource.SchemaRequ
|
|||
Computed: true,
|
||||
},
|
||||
"uri": schema.StringAttribute{
|
||||
Computed: true,
|
||||
Description: descriptions["uri"],
|
||||
Computed: true,
|
||||
},
|
||||
"username": schema.StringAttribute{
|
||||
Computed: true,
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ func (r *credentialResource) Schema(_ context.Context, _ resource.SchemaRequest,
|
|||
"credential_id": "The credential's ID.",
|
||||
"instance_id": "ID of the Redis instance.",
|
||||
"project_id": "STACKIT Project ID to which the instance is associated.",
|
||||
"uri": "Connection URI. Currently the returned uri doesn't support SSL, but you can enable it by using `rediss://` instead of `redis://`. We will provide the SSL connection in a future release",
|
||||
}
|
||||
|
||||
resp.Schema = schema.Schema{
|
||||
|
|
@ -171,7 +172,8 @@ func (r *credentialResource) Schema(_ context.Context, _ resource.SchemaRequest,
|
|||
Computed: true,
|
||||
},
|
||||
"uri": schema.StringAttribute{
|
||||
Computed: true,
|
||||
Description: descriptions["uri"],
|
||||
Computed: true,
|
||||
},
|
||||
"username": schema.StringAttribute{
|
||||
Computed: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue