Skip to content

Commit

Permalink
name length should be at least 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rajagopalans committed Aug 29, 2023
1 parent 595bfb4 commit 3883637
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apstra/blueprint/configlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ func (o DatacenterConfiglet) DataSourceAttributes() map[string]dataSourceSchema.
MarkdownDescription: "Populate this field to look up a Configlet by name. Required when `id` is omitted.",
Optional: true,
Computed: true,
Validators: []validator.String{
stringvalidator.LengthAtLeast(1),
},
},
"condition": dataSourceSchema.StringAttribute{
MarkdownDescription: "Condition determines where the Configlet is applied.",
Expand Down

0 comments on commit 3883637

Please sign in to comment.