diff --git a/go.mod b/go.mod index be5d103d0c..e9c6762562 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/hashicorp/errwrap v1.0.0 github.com/hashicorp/go-cleanhttp v0.5.1 github.com/hashicorp/terraform-plugin-sdk v1.13.0 - github.com/huaweicloud/golangsdk v0.0.0-20201105114916-83fd53443629 + github.com/huaweicloud/golangsdk v0.0.0-20201112061236-6ddae35b9312 github.com/jen20/awspolicyequivalence v0.0.0-20170831201602-3d48364a137a github.com/mitchellh/go-homedir v1.1.0 github.com/smartystreets/goconvey v0.0.0-20190222223459-a17d461953aa // indirect diff --git a/go.sum b/go.sum index 1b769c0231..2ee142169b 100644 --- a/go.sum +++ b/go.sum @@ -129,8 +129,8 @@ github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/huaweicloud/golangsdk v0.0.0-20201105114916-83fd53443629 h1:9xGWUFaijpUn5SPzCs5I7WqR8N+xUD3VXqy8MiULvl8= -github.com/huaweicloud/golangsdk v0.0.0-20201105114916-83fd53443629/go.mod h1:fcOI5u+0f62JtJd7zkCch/Z57BNC6bhqb32TKuiF4r0= +github.com/huaweicloud/golangsdk v0.0.0-20201112061236-6ddae35b9312 h1:vo77sjqaWWtMvxYi8dpZ5FAon9CyP69FR4AFvamu8ks= +github.com/huaweicloud/golangsdk v0.0.0-20201112061236-6ddae35b9312/go.mod h1:fcOI5u+0f62JtJd7zkCch/Z57BNC6bhqb32TKuiF4r0= github.com/jen20/awspolicyequivalence v0.0.0-20170831201602-3d48364a137a h1:FyS/ubzBR5xJlnJGRTwe7GUHpJOR4ukYK3y+LFNffuA= github.com/jen20/awspolicyequivalence v0.0.0-20170831201602-3d48364a137a/go.mod h1:uoIMjNxUfXi48Ci40IXkPRbghZ1vbti6v9LCbNqRgHY= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= diff --git a/huaweicloud/resource_huaweicloud_cce_addon_v3.go b/huaweicloud/resource_huaweicloud_cce_addon_v3.go index 3b7d646372..8cbc7fbe2e 100644 --- a/huaweicloud/resource_huaweicloud_cce_addon_v3.go +++ b/huaweicloud/resource_huaweicloud_cce_addon_v3.go @@ -80,7 +80,7 @@ func resourceCCEAddonV3Create(d *schema.ResourceData, meta interface{}) error { ClusterID: cluster_id, AddonTemplateName: d.Get("template_name").(string), Values: addons.Values{ - Basic: map[string]string{}, + Basic: map[string]interface{}{}, }, }, } diff --git a/vendor/github.com/huaweicloud/golangsdk/openstack/cce/v3/addons/requests.go b/vendor/github.com/huaweicloud/golangsdk/openstack/cce/v3/addons/requests.go index 57df2b8c77..1b065029b1 100644 --- a/vendor/github.com/huaweicloud/golangsdk/openstack/cce/v3/addons/requests.go +++ b/vendor/github.com/huaweicloud/golangsdk/openstack/cce/v3/addons/requests.go @@ -47,7 +47,7 @@ type RequestSpec struct { } type Values struct { - Basic map[string]string `json:"basic" required:"true"` + Basic map[string]interface{} `json:"basic" required:"true"` } // ToAddonCreateMap builds a create request body from CreateOpts. diff --git a/vendor/modules.txt b/vendor/modules.txt index d107094015..dc34eb6374 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -186,7 +186,7 @@ github.com/hashicorp/terraform-svchost/auth github.com/hashicorp/terraform-svchost/disco # github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d github.com/hashicorp/yamux -# github.com/huaweicloud/golangsdk v0.0.0-20201105114916-83fd53443629 +# github.com/huaweicloud/golangsdk v0.0.0-20201112061236-6ddae35b9312 ## explicit github.com/huaweicloud/golangsdk github.com/huaweicloud/golangsdk/internal