Change networks attribute type to TypeSet and fix compute resource state issue

This commit is contained in:
Sergey Shubin svs1370
2021-04-29 13:30:57 +03:00
parent 7f6d11dfd5
commit 78258789eb
3 changed files with 19 additions and 26 deletions

View File

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