Convert int to int64 when building the cluster.NodeConfig struct
related to issue https://github.com/hashicorp/terraform/issues/2901
This commit is contained in:
parent
8df1decd71
commit
75c1475cc1
|
@ -253,7 +253,7 @@ func resourceContainerClusterCreate(d *schema.ResourceData, meta interface{}) er
|
|||
}
|
||||
|
||||
if v, ok = nodeConfig["disk_size_gb"]; ok {
|
||||
cluster.NodeConfig.DiskSizeGb = v.(int64)
|
||||
cluster.NodeConfig.DiskSizeGb = int64(v.(int))
|
||||
}
|
||||
|
||||
if v, ok := nodeConfig["oauth_scopes"]; ok {
|
||||
|
|
Loading…
Reference in New Issue