Skip to content

Commit

Permalink
fixed simple change
Browse files Browse the repository at this point in the history
  • Loading branch information
bwJuniper committed Apr 12, 2024
1 parent d0f5d7b commit b6bcd41
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apstra/design/template_collapsed.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,23 @@ func (o TemplateCollapsed) ResourceAttributes() map[string]resourceSchema.Attrib
Required: true,
Validators: []validator.String{stringvalidator.LengthAtLeast(1)},
},
"rack_type": resourceSchema.ObjectAttribute{
"rack_type": resourceSchema.SingleNestedAttribute{
MarkdownDescription: "rack type layer details",
Required: true,
Computed: true,
Attributes: RackType{}.ResourceAttributesNested(),
},
"rack_type_id": resourceSchema.StringAttribute{
MarkdownDescription: "rack type id ",
Required: true,
Validators: []validator.String{stringvalidator.LengthAtLeast(1)},
},
"mesh_link_count": resourceSchema.Int64Attribute{
MarkdownDescription: "mesh_link_count integer ",
Computed: true,
Required: true,
},
"mesh_link_speed": dataSourceSchema.StringAttribute{
MarkdownDescription: "mesh_link_speed details ",
Computed: true,
Required: true,
},
}
}
Expand Down

0 comments on commit b6bcd41

Please sign in to comment.