Skip to content

Commit 71a133d

Browse files
authored
fix: Use set instead of list for connection rules (#81)
* fix: Use set instead of list for connection rules * docs: Generate
1 parent 98084c5 commit 71a133d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "hookdeck_connection" "connection_example" {
7171
- `description` (String) Description for the connection
7272
- `disabled_at` (String) Date the connection was disabled
7373
- `name` (String) A unique, human-friendly name for the connection
74-
- `rules` (Attributes List) (see [below for nested schema](#nestedatt--rules))
74+
- `rules` (Attributes Set) (see [below for nested schema](#nestedatt--rules))
7575

7676
### Read-Only
7777

internal/provider/connection/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (r *connectionResource) Schema(_ context.Context, _ resource.SchemaRequest,
9393
},
9494
Description: "Date the connection was paused",
9595
},
96-
"rules": schema.ListNestedAttribute{
96+
"rules": schema.SetNestedAttribute{
9797
Optional: true,
9898
NestedObject: schema.NestedAttributeObject{
9999
Attributes: map[string]schema.Attribute{

0 commit comments

Comments
 (0)