diff --git a/internal/provider/connection/schema.go b/internal/provider/connection/schema.go index 66e2825..37bc14c 100644 --- a/internal/provider/connection/schema.go +++ b/internal/provider/connection/schema.go @@ -145,6 +145,9 @@ func (r *connectionResource) Schema(_ context.Context, _ resource.SchemaRequest, }, }, }, + Validators: []validator.Object{ + validators.ExactlyOneChild(), + }, }, }, "source_id": schema.StringAttribute{