Skip to content

Commit e3bccee

Browse files
committed
fix(document): Remove requirement that document_id used in dynatrace_direct_shares resource is a UUID
As documents now support custom IDs which must not be UUIDs, this restriction is no longer valid and needs to be removed.
1 parent 1118619 commit e3bccee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynatrace/api/documents/directshares/settings/directshare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (me *DirectShare) Schema() map[string]*schema.Schema {
7777
Type: schema.TypeString,
7878
Description: "Document ID",
7979
Required: true,
80-
ValidateDiagFunc: Validate(ValidateUUID, ValidateMaxLength(200)),
80+
ValidateDiagFunc: Validate(ValidateMaxLength(200)),
8181
},
8282
"access": {
8383
Type: schema.TypeString,

0 commit comments

Comments
 (0)