From 122fd12983638e9cddc7ab0c046f1d0b68a0ba00 Mon Sep 17 00:00:00 2001 From: Dean Oren Date: Tue, 3 Jan 2023 18:10:31 +0100 Subject: [PATCH] fix typo update client to v1.10.3 --- README.md | 2 +- go.mod | 2 +- go.sum | 76 +------------------ .../data-services/credential/data_source.go | 2 +- .../data-services/instance/data_source.go | 2 +- .../data-services/credential/resource.go | 2 +- .../data-services/instance/resource.go | 2 +- 7 files changed, 8 insertions(+), 80 deletions(-) diff --git a/README.md b/README.md index 2a322ea4..cdfe556d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ terraform { required_providers { stackit = { source = "SchwarzIT/stackit" - version = "=1.10.0" + version = "=1.10.1" } } } diff --git a/go.mod b/go.mod index 5959aac4..e12fc69b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/Masterminds/semver v1.5.0 - github.com/SchwarzIT/community-stackit-go-client v1.10.2 + github.com/SchwarzIT/community-stackit-go-client v1.10.3 github.com/hashicorp/terraform-plugin-framework v1.0.1 github.com/hashicorp/terraform-plugin-framework-validators v0.9.0 github.com/hashicorp/terraform-plugin-go v0.14.2 diff --git a/go.sum b/go.sum index a28524e6..356cab2b 100644 --- a/go.sum +++ b/go.sum @@ -9,80 +9,8 @@ github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugX github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= -github.com/SchwarzIT/community-stackit-go-client v1.6.0 h1:ppBR+7fk8N3ABzGtnzqkojEndR9UEbIT0RNAxOPMQhg= -github.com/SchwarzIT/community-stackit-go-client v1.6.0/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.6.1 h1:jLe9m7ioCv0x+ajew5Hrk2Qlxs9/GtJ2IJXyXaGAWzQ= -github.com/SchwarzIT/community-stackit-go-client v1.6.1/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.6.2 h1:1pNCKRExVzf2npVeWLNC0VzHBYOu7NPA6UquQojZ98g= -github.com/SchwarzIT/community-stackit-go-client v1.6.2/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.6.3 h1:p13DddcfWhDhFs1ru7si8sAVOjo2ju6UgKF/KXGaGIA= -github.com/SchwarzIT/community-stackit-go-client v1.6.3/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.0 h1:RWnrOVOiJMjjbezhL2WCHxYuVFG2e7g/j/hTyh5QRmc= -github.com/SchwarzIT/community-stackit-go-client v1.7.0/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.1 h1:7ty/MJ6D8S1QnRQr2lAUe/tK3RL2hIod4jllw+TqLWQ= -github.com/SchwarzIT/community-stackit-go-client v1.7.1/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.2 h1:u93ey9wM+Lb+RVgLeuZoBaF7zjSxK6BPDx3LifSDT/I= -github.com/SchwarzIT/community-stackit-go-client v1.7.2/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.3 h1:PAfoWFv2kVPolCO2jLIauvcEfFAqGPjEERrXE/bwFPM= -github.com/SchwarzIT/community-stackit-go-client v1.7.3/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228185743-6c186d7b3bb7 h1:E+wmkT3KagFi2D1rR2lYzqeiR46dbHhi9dDyIBvlf0k= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228185743-6c186d7b3bb7/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228191312-00e36c55e79b h1:XvfdGlf5XttbW/Qc1Oqukln+VlIopo4NrL5lzQU/c40= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228191312-00e36c55e79b/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228203919-5e8cfdd92f60 h1:zNtcdJoCwHQj/i4dX2Q1dABVTAQvAybJaI2ZA7xOtW4= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221228203919-5e8cfdd92f60/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229081908-a939547ebed6 h1:fR6OsIcd3NK8HiFGLlkruHbM27pzubT9AYk6tY/kHQ8= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229081908-a939547ebed6/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229083241-a1c4088ac6ea h1:JYkEwhA8q7TH/c3KLxLSa8GwQQ8Nvvd0s9bxYY7XMH8= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229083241-a1c4088ac6ea/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229084510-68a44daac95d h1:KmWk6gAtdQMh5nt/81ulOCnfq2CJCNfsKiHfIl3s3eE= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229084510-68a44daac95d/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229091703-f60fbae56c34 h1:NGafDpcwpJz8ynlDZENak6DMlC0MMhhckaU624dDuS0= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229091703-f60fbae56c34/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229092408-1a9717dac6a7 h1:likAEXKvvnq0Bl1dE1qmto4WSQhKh534DMVOuvNbkEM= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229092408-1a9717dac6a7/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229094738-d7a9628fe018 h1:Yl0S9m2nT/SY3EMqxYf8OZjpWeGJ12Fd9sB3jQTBgyc= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229094738-d7a9628fe018/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229100528-c83c9259201f h1:2fdXmHJortnW/t6c3cpOp8vmH/XX+xXoroV4GV2C7tg= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229100528-c83c9259201f/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229102546-eb6231c99150 h1:VCMHO+IFfepFIddj9gdgemEEAASkoSnhXkekl0Oyta0= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229102546-eb6231c99150/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229102931-d0cdf2595d2c h1:Jm4FRE+2R7KfiB7XvP6/auzS1u+Ml20TAIk6b/gAb9E= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229102931-d0cdf2595d2c/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229123219-76800140559a h1:OKFg2jl2taQz7WUj0AzLyAdtKYiTLc+UnHfsyaK4N4k= -github.com/SchwarzIT/community-stackit-go-client v1.7.4-0.20221229123219-76800140559a/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.0 h1:GO6La1o98NB9TzfG8M8Z93YSKo1q6k/Ful5tprTjfMU= -github.com/SchwarzIT/community-stackit-go-client v1.8.0/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230094711-19505c475d5b h1:VMhrtNnmAuVKDAulpRd7LirQW0xOaHfsVAz8yw8zKro= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230094711-19505c475d5b/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230103832-f830d2265b21 h1:a5Sv4UQl0xvnMtlgDablDAoR4EfCUVJNFywB18kycds= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230103832-f830d2265b21/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230110801-0145123d6f3c h1:oVBd4x57ptfcR+9RJWUVSR5dlew9qO4IHIKozhDxV+s= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230110801-0145123d6f3c/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230111720-3082a3572e2e h1:UFE8cI8Wl5EsSFnYLSt0svb+bbneclXxO1z3f6x3u58= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230111720-3082a3572e2e/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230112140-55f2742dff8e h1:YDmC4CXtrUROxZWgmPUOVG67t9QiSyNSLbcQGCWxyE4= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230112140-55f2742dff8e/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230113152-7527faa58d56 h1:bUMwx4hG6eViKrknJHy8JCQP61LOYqNGBB8hG+JOxMc= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230113152-7527faa58d56/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230115123-049adedaaba3 h1:qwUJWMdnYoRQBfwJSdjcFjq9LYNphsWf3UPMj3qyI3w= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230115123-049adedaaba3/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230121604-5808ec66ccea h1:Hvhm1cP+H2UukPSeDlYzfhZaKKYB30Pj/2MuYEmDjtg= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230121604-5808ec66ccea/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230123627-9bbbbac115f1 h1:QkHYUtQCG3/rB0IO2CJZEz8hpCnrKjDJajLu6i8HgnQ= -github.com/SchwarzIT/community-stackit-go-client v1.8.1-0.20221230123627-9bbbbac115f1/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.8.1 h1:3ZfyaK0IlMZJkY2kYohwJdYnWVaWf8jnIzGw+cRuzc8= -github.com/SchwarzIT/community-stackit-go-client v1.8.1/go.mod h1:vwPpELn0qK5cAbuZeq60DDZHHRWeZYm2h7DWfxFT9yI= -github.com/SchwarzIT/community-stackit-go-client v1.10.1 h1:mUWMN5dlFZ/7HUdf7vKAUDe1F9dsl23ZsLX6h0eTIY8= -github.com/SchwarzIT/community-stackit-go-client v1.10.1/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103105648-f114cdad1bdc h1:QkLsINF6WabSMKvuNANc2zdaSNHv48tp5C5NIB9OHAM= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103105648-f114cdad1bdc/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103124315-74ba5423c2c7 h1:3/EoguuCCrA+F9WvVkTQxiwsL2j/w0et3jYfpuCLRb0= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103124315-74ba5423c2c7/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103124853-58e8e1ded112 h1:WCH9Af5QWfxdOPhlYtIdF/VALXh1f3pYHQUEtl6iOyI= -github.com/SchwarzIT/community-stackit-go-client v1.10.2-0.20230103124853-58e8e1ded112/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= -github.com/SchwarzIT/community-stackit-go-client v1.10.2 h1:OGqGHtxG5xp2pTRw0YRrb/XIXNwHSa6WLu6+k4ATfXw= -github.com/SchwarzIT/community-stackit-go-client v1.10.2/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= +github.com/SchwarzIT/community-stackit-go-client v1.10.3 h1:OOeBGPSxSOTLfGg2EUEhikXGMYIschA+kKS5aqP09Ng= +github.com/SchwarzIT/community-stackit-go-client v1.10.3/go.mod h1:xpcYcGOoGV0mr26MlBU6E6b8AAiipPcwL11YH9ACqUs= github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= diff --git a/stackit/internal/data-sources/data-services/credential/data_source.go b/stackit/internal/data-sources/data-services/credential/data_source.go index ecbc6c3c..cda17da9 100644 --- a/stackit/internal/data-sources/data-services/credential/data_source.go +++ b/stackit/internal/data-sources/data-services/credential/data_source.go @@ -109,7 +109,7 @@ func (d *DataSource) Configure(ctx context.Context, req datasource.ConfigureRequ case Postgres: d.client = c.PostgresDB case Redis: - d.client = c.Reddis + d.client = c.Redis case RabbitMQ: d.client = c.RabbitMQ } diff --git a/stackit/internal/data-sources/data-services/instance/data_source.go b/stackit/internal/data-sources/data-services/instance/data_source.go index 148dc6d4..7e37a67b 100644 --- a/stackit/internal/data-sources/data-services/instance/data_source.go +++ b/stackit/internal/data-sources/data-services/instance/data_source.go @@ -109,7 +109,7 @@ func (d *DataSource) Configure(ctx context.Context, req datasource.ConfigureRequ case Postgres: d.client = c.PostgresDB case Redis: - d.client = c.Reddis + d.client = c.Redis case RabbitMQ: d.client = c.RabbitMQ } diff --git a/stackit/internal/resources/data-services/credential/resource.go b/stackit/internal/resources/data-services/credential/resource.go index 6ce466d8..8307b1fc 100644 --- a/stackit/internal/resources/data-services/credential/resource.go +++ b/stackit/internal/resources/data-services/credential/resource.go @@ -109,7 +109,7 @@ func (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, case Postgres: r.client = c.PostgresDB case Redis: - r.client = c.Reddis + r.client = c.Redis case RabbitMQ: r.client = c.RabbitMQ } diff --git a/stackit/internal/resources/data-services/instance/resource.go b/stackit/internal/resources/data-services/instance/resource.go index fb36b195..e438efe6 100644 --- a/stackit/internal/resources/data-services/instance/resource.go +++ b/stackit/internal/resources/data-services/instance/resource.go @@ -109,7 +109,7 @@ func (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, case Postgres: r.client = c.PostgresDB case Redis: - r.client = c.Reddis + r.client = c.Redis case RabbitMQ: r.client = c.RabbitMQ }