Initial implementation of Compute resource mgmt, debug pending

This commit is contained in:
Sergey Shubin svs1370
2021-03-10 13:58:11 +03:00
parent 7031f0fe2d
commit f8611fec30
3 changed files with 109 additions and 20 deletions

View File

@@ -25,7 +25,7 @@ Visit https://github.com/rudecs/terraform-provider-decort for full source code p
package decort
import (
"encoding/json"
// "encoding/json"
"fmt"
"net/url"
"strconv"
@@ -160,7 +160,7 @@ func resourceComputeRead(d *schema.ResourceData, m interface{}) error {
if err = flattenCompute(d, compFacts); err != nil {
return err
}
log.Debugf("resourceComputeRead: after flattenCompute: Compute ID %s, name %q, RG ID %d",
d.Id(), d.Get("name").(string), d.Get("rg_id").(int))