diff --git a/docs/resources/trusted_network.md b/docs/resources/trusted_network.md index 30b2433e..f5bf3777 100644 --- a/docs/resources/trusted_network.md +++ b/docs/resources/trusted_network.md @@ -47,13 +47,13 @@ resource "pfptmeta_trusted_network" "network" { ### Required -- **criteria** (Block List, Min: 1) (see [below for nested schema](#nestedblock--criteria)) - **name** (String) ### Optional - **apply_to_entities** (List of String) Entities (users, groups or network elements) to be allowed to use trusted networks. - **apply_to_org** (Boolean) Indicates whether this trusted network setting applies to the entire org. Note: This attribute overrides `apply_to_entities`. +- **criteria** (Block List) (see [below for nested schema](#nestedblock--criteria)) - **description** (String) - **enabled** (Boolean) - **exempt_entities** (List of String) Entities (users, groups or network elements) which are not allowed to use trusted networks. diff --git a/internal/provider/trusted_network/resource.go b/internal/provider/trusted_network/resource.go index c9b3f529..6b5f4d27 100644 --- a/internal/provider/trusted_network/resource.go +++ b/internal/provider/trusted_network/resource.go @@ -114,7 +114,7 @@ func Resource() *schema.Resource { }, }, }, - Required: true, + Optional: true, MinItems: 1, }, },