diff --git a/go.mod b/go.mod index 9821218c..cb7f953b 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/hashicorp/terraform-plugin-log v0.9.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 github.com/pkg/errors v0.9.1 - github.com/qovery/qovery-client-go v0.0.0-20241230103349-8c3d9c7232b5 + github.com/qovery/qovery-client-go v0.0.0-20250113080924-e5f48269228f github.com/schollz/progressbar/v3 v3.13.0 github.com/sethvargo/go-envconfig v0.9.0 github.com/stretchr/testify v1.10.0 diff --git a/go.sum b/go.sum index 2c95ba81..c1c8b1d9 100644 --- a/go.sum +++ b/go.sum @@ -190,6 +190,8 @@ github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXq github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/qovery/qovery-client-go v0.0.0-20241230103349-8c3d9c7232b5 h1:ggsdjhn0OYdbanDMJaAMVkuA4JHQYbeOg78enQiGfo4= github.com/qovery/qovery-client-go v0.0.0-20241230103349-8c3d9c7232b5/go.mod h1:hAMMDu1kk2rNJRf8MiYV0E+07DhDXpvNddj9q8YpbFs= +github.com/qovery/qovery-client-go v0.0.0-20250113080924-e5f48269228f h1:0+cROOxGffce2xUYtsPBYqF2t5l9lmuDaJq3G22jcO0= +github.com/qovery/qovery-client-go v0.0.0-20250113080924-e5f48269228f/go.mod h1:hAMMDu1kk2rNJRf8MiYV0E+07DhDXpvNddj9q8YpbFs= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw= github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= diff --git a/qovery/resource_cluster_model.go b/qovery/resource_cluster_model.go index d99c5ac1..0a50b123 100644 --- a/qovery/resource_cluster_model.go +++ b/qovery/resource_cluster_model.go @@ -434,7 +434,7 @@ func toQoveryClusterFeatures(f types.Object, mode string) ([]qovery.ClusterReque SpotEnabled: ToBool(v.Attributes()["spot_enabled"].(types.Bool)), DiskSizeInGib: ToInt32(v.Attributes()["disk_size_in_gib"].(types.Int64)), DefaultServiceArchitecture: arch, - QoveryNodePools: qoveryNodePools, + QoveryNodePools: *qoveryNodePools, } value := qovery.NewNullableClusterRequestFeaturesInnerValue(&qovery.ClusterRequestFeaturesInnerValue{ ClusterFeatureKarpenterParameters: &feature,