diff --git a/docs/resources/allow_list.md b/docs/resources/allow_list.md index a46e29d..3583302 100644 --- a/docs/resources/allow_list.md +++ b/docs/resources/allow_list.md @@ -24,12 +24,12 @@ resource "ybm_allow_list" "example_allow_list" { ### Required -- `allow_list_description` (String) The description of the allow list. - `allow_list_name` (String) The name of the allow list. - `cidr_list` (Set of String) The CIDR list of the allow list. ### Optional +- `allow_list_description` (String) The description of the allow list. - `allow_list_id` (String) The ID of the allow list. Created automatically when an allow list is created. Use this ID to get a specific allow list. ### Read-Only diff --git a/managed/resource_allow_list.go b/managed/resource_allow_list.go index 83a1daa..48852e3 100644 --- a/managed/resource_allow_list.go +++ b/managed/resource_allow_list.go @@ -52,7 +52,7 @@ func (r resourceAllowListType) GetSchema(_ context.Context) (tfsdk.Schema, diag. "allow_list_description": { Description: "The description of the allow list.", Type: types.StringType, - Required: true, + Optional: true, PlanModifiers: tfsdk.AttributePlanModifiers{tfsdk.RequiresReplace()}, }, "cidr_list": {