From 0eec57e53c41ec852bfffe216051d5f3a8806390 Mon Sep 17 00:00:00 2001 From: ffalor <35144141+ffalor@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:08:21 -0600 Subject: [PATCH] allow unknown values for build_arm64 (#55) --- internal/provider/sensor_update_policy_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/sensor_update_policy_resource.go b/internal/provider/sensor_update_policy_resource.go index 3ab949f..1897520 100644 --- a/internal/provider/sensor_update_policy_resource.go +++ b/internal/provider/sensor_update_policy_resource.go @@ -834,7 +834,7 @@ func (r *sensorUpdatePolicyResource) ValidateConfig( platform := strings.ToLower(config.PlatformName.ValueString()) - if platform == "linux" && (config.BuildArm64.IsNull() || config.BuildArm64.IsUnknown()) { + if platform == "linux" && config.BuildArm64.IsNull() { resp.Diagnostics.AddAttributeError( path.Root("build_arm64"), "Attribute build_arm64 missing",