Skip to content

Commit 5f258db

Browse files
committed
Switch to TypeList from TypeMap for unsupported elements
Terraform Plugin SDK v2 introduces more robust validations for TypeMap elements. This commit changes an unsupported field type from TypeMap to TypeList Signed-off-by: Ferran Rodenas <[email protected]>
1 parent 4e320d3 commit 5f258db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vra/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func routesSchema(isRequired bool) *schema.Schema {
1515
Elem: &schema.Resource{
1616
Schema: map[string]*schema.Schema{
1717
"health_check_configuration": {
18-
Type: schema.TypeMap,
18+
Type: schema.TypeList,
1919
Optional: true,
2020
Elem: &schema.Resource{
2121
Schema: map[string]*schema.Schema{

0 commit comments

Comments
 (0)