feat: provider v0.1.9 — namespace hardcoded in client, removed from provider schema and all examples

This commit is contained in:
“Naeel”
2026-03-09 15:27:55 +04:00
parent 17d32fcb39
commit 5faec45a04
9 changed files with 23 additions and 41 deletions
@@ -25,7 +25,6 @@ import (
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
@@ -323,12 +322,7 @@ func mapToStringMap(ctx context.Context, m types.Map) (map[string]string, diag.D
result := make(map[string]string, len(elements))
var diags diag.Diagnostics
for k, v := range elements {
sv, ok := v.(attr.Value)
if !ok {
diags.AddError("env_vars conversion", fmt.Sprintf("unexpected type for key %q", k))
continue
}
strVal, ok := sv.(types.String)
strVal, ok := v.(types.String)
if !ok {
diags.AddError("env_vars conversion", fmt.Sprintf("value for key %q is not a string", k))
continue