Skip to content

Commit 2e6f72b

Browse files
committed
Changed allowlist description to optional
1 parent b8d5c8d commit 2e6f72b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/allow_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ resource "ybm_allow_list" "example_allow_list" {
2424

2525
### Required
2626

27-
- `allow_list_description` (String) The description of the allow list.
2827
- `allow_list_name` (String) The name of the allow list.
2928
- `cidr_list` (Set of String) The CIDR list of the allow list.
3029

3130
### Optional
3231

32+
- `allow_list_description` (String) The description of the allow list.
3333
- `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.
3434

3535
### Read-Only

managed/resource_allow_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (r resourceAllowListType) GetSchema(_ context.Context) (tfsdk.Schema, diag.
5252
"allow_list_description": {
5353
Description: "The description of the allow list.",
5454
Type: types.StringType,
55-
Required: true,
55+
Optional: true,
5656
PlanModifiers: tfsdk.AttributePlanModifiers{tfsdk.RequiresReplace()},
5757
},
5858
"cidr_list": {

0 commit comments

Comments
 (0)