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

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