Remove ssl note from redis credentials uri, mark uri as sensitive and update ske project deprecation date (#367)

* Remove ssl note from redis credential

* Mark uri as sensitive, change deprecation note of ske project

* Update date
This commit is contained in:
Vicente Pinto 2024-05-21 10:22:30 +01:00 committed by GitHub
parent a636628c8b
commit e4bbcfd50a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 39 additions and 27 deletions

View file

@ -82,7 +82,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",
"uri": "Connection URI.",
}
resp.Schema = schema.Schema{
@ -136,6 +136,7 @@ func (r *credentialDataSource) Schema(_ context.Context, _ datasource.SchemaRequ
"uri": schema.StringAttribute{
Description: descriptions["uri"],
Computed: true,
Sensitive: true,
},
"username": schema.StringAttribute{
Computed: true,

View file

@ -104,7 +104,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",
"uri": "Connection URI.",
}
resp.Schema = schema.Schema{
@ -172,6 +172,7 @@ func (r *credentialResource) Schema(_ context.Context, _ resource.SchemaRequest,
"uri": schema.StringAttribute{
Description: descriptions["uri"],
Computed: true,
Sensitive: true,
},
"username": schema.StringAttribute{
Computed: true,