mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-05 17:52:38 +00:00
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
70c24b07d0
commit
1920934c5e
|
@ -253,7 +253,7 @@ func resourceContainerClusterCreate(d *schema.ResourceData, meta interface{}) er
|
||||||
}
|
}
|
||||||
|
|
||||||
if v, ok = nodeConfig["disk_size_gb"]; ok {
|
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 {
|
if v, ok := nodeConfig["oauth_scopes"]; ok {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user