Skip to content

Commit

Permalink
allow unknown values for build_arm64 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffalor authored Dec 4, 2024
1 parent 0ef85c6 commit 0eec57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/sensor_update_policy_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0eec57e

Please sign in to comment.