Skip to content

Commit

Permalink
fix: Improve connection rule schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexluong committed Sep 21, 2023
1 parent 31292c6 commit 441ec40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/provider/connection/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ func (r *connectionResource) Schema(_ context.Context, _ resource.SchemaRequest,
},
},
},
Validators: []validator.Object{
validators.ExactlyOneChild(),
},
},
},
"source_id": schema.StringAttribute{
Expand Down

0 comments on commit 441ec40

Please sign in to comment.