Fix state diff logic for network subresource of compute

This commit is contained in:
Sergey Shubin svs1370
2021-04-29 15:37:24 +03:00
parent 78258789eb
commit b924fe681d
3 changed files with 15 additions and 6 deletions

View File

@@ -380,9 +380,9 @@ func resourceCompute() *schema.Resource {
},
"network": {
Type: schema.TypeSet,
Type: schema.TypeList,
Optional: true,
// MaxItems: MaxNetworksPerCompute,
MaxItems: MaxNetworksPerCompute,
Elem: &schema.Resource{
Schema: networkSubresourceSchemaMake(),
},