From 4705327e38ab76551049994d6d36ea04855efc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Abac=C4=B1?= Date: Thu, 22 Aug 2024 15:51:48 +0300 Subject: [PATCH] Fix resource mapping of cloudflare_zero_trust_access_group --- .changelog/3740.txt | 3 +++ internal/sdkv2provider/provider.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/3740.txt diff --git a/.changelog/3740.txt b/.changelog/3740.txt new file mode 100644 index 00000000000..a5296233a5f --- /dev/null +++ b/.changelog/3740.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/cloudflare_zero_trust_access_group: Fix false deprecation warnings +``` diff --git a/internal/sdkv2provider/provider.go b/internal/sdkv2provider/provider.go index 255b7f05a3b..dbd2bc13d71 100644 --- a/internal/sdkv2provider/provider.go +++ b/internal/sdkv2provider/provider.go @@ -197,7 +197,7 @@ func New(version string) func() *schema.Provider { "cloudflare_access_ca_certificate": resourceCloudflareAccessCACertificate(), "cloudflare_zero_trust_access_short_lived_certificate": resourceCloudflareZeroTrustAccessCACertificate(), "cloudflare_access_group": resourceCloudflareAccessGroup(), - "cloudflare_zero_trust_access_group": resourceCloudflareAccessGroup(), + "cloudflare_zero_trust_access_group": resourceCloudflareZeroTrustAccessGroup(), "cloudflare_access_identity_provider": resourceCloudflareAccessIdentityProvider(), "cloudflare_zero_trust_access_identity_provider": resourceCloudflareZeroTrustAccessIdentityProvider(), "cloudflare_access_custom_page": resourceCloudflareAccessCustomPage(),