From 579eafe7875e1be1d80ed18ffbaecfbca5ebce79 Mon Sep 17 00:00:00 2001 From: Thomas Munzer Date: Wed, 28 Aug 2024 20:50:51 +0200 Subject: [PATCH] revert host validation --- internal/provider/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 35978e8..10634b8 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -73,7 +73,7 @@ func (p *mistProvider) Schema(ctx context.Context, req provider.SchemaRequest, r Attributes: map[string]schema.Attribute{ "host": schema.StringAttribute{ MarkdownDescription: "URL of the Mist Cloud, e.g. `api.mist.com`.", - Required: true, + Optional: true, }, "apitoken": schema.StringAttribute{ MarkdownDescription: "For API Token authentication, the Mist API Token.",