Implementing ViNS resource and polishing logic in other methods

This commit is contained in:
Sergey Shubin svs1370
2021-09-16 17:06:18 +03:00
parent 1ea7a27b21
commit e86224f95f
9 changed files with 355 additions and 12 deletions

View File

@@ -299,6 +299,8 @@ func dataSourceCompute() *schema.Resource {
Description: "Name of this compute instance. NOTE: this parameter is case sensitive.",
},
// TODO: consider removing compute_id from the schema, as it not practical to call this data provider if
// corresponding compute ID is already known
"compute_id": {
Type: schema.TypeInt,
Optional: true,