Skip to content

Commit

Permalink
autofix more semgrep rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Oct 1, 2024
1 parent 5c9b560 commit f15bf02
Show file tree
Hide file tree
Showing 19 changed files with 50 additions and 33 deletions.
5 changes: 5 additions & 0 deletions .semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ rules:
- 'internal/sdkv2provider/resource_cloudflare_fallback_domain_test.go'
patterns:
- pattern-regex: '\d+\.\d+\.\d+\.\d+'
- pattern-not-regex: '-\d+\.\d+\.\d+\.\d+'
- pattern-not: '127.0.0.1'
- pattern-not: '0.0.0.0'
- pattern-not: '1.1.1.1'
- pattern-not: '1.0.0.1'
- pattern-not-regex: '10\.\d+\.\d+.\d+'
- pattern-not-regex: '192\.168\.\d+.\d+'
- pattern-not-regex: '192\.0\.2\.\d+' # 192.0.2.0/24 (TEST-NET-1, rfc5737)
Expand Down Expand Up @@ -156,6 +159,7 @@ rules:
patterns:
- pattern: '"account_id"'
severity: WARNING
fix: "consts.AccountIDSchemaKey"
- id: use-defined-zone-id-constant-instead-of-strings
languages:
- go
Expand All @@ -168,4 +172,5 @@ rules:
- 'templates/'
patterns:
- pattern: '"zone_id"'
fix: "consts.ZoneIDSchemaKey"
severity: WARNING
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand All @@ -21,7 +22,7 @@ func TestAccCloudflareDCVDelegationDataSource(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("data.cloudflare_dcv_delegation.test", "id"),
resource.TestCheckResourceAttrSet("data.cloudflare_dcv_delegation.test", "hostname"),
resource.TestCheckResourceAttrSet("data.cloudflare_dcv_delegation.test", "zone_id"),
resource.TestCheckResourceAttrSet("data.cloudflare_dcv_delegation.test", consts.ZoneIDSchemaKey),
),
},
},
Expand Down
3 changes: 2 additions & 1 deletion internal/framework/service/dlp_datasets/data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand All @@ -19,7 +20,7 @@ func TestAccCloudflareDLPDatasets_DataSource(t *testing.T) {
{
Config: testAccCheckCloudflareDlpDatasetsDataSourceConfig(accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("data.cloudflare_dlp_datasets.my_datasets", "account_id"),
resource.TestCheckResourceAttrSet("data.cloudflare_dlp_datasets.my_datasets", consts.AccountIDSchemaKey),
),
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand All @@ -19,7 +20,7 @@ func TestAccCloudflareGatewayAppTypes_DataSource(t *testing.T) {
{
Config: testAccCheckCloudflareGatewayAppTypesDataSourceConfig(accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_app_types.my_app_types", "account_id"),
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_app_types.my_app_types", consts.AccountIDSchemaKey),
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_app_types.my_app_types", "app_types.#"),
),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand All @@ -23,7 +24,7 @@ func TestAccCloudflareGatewayCategories_DataSource(t *testing.T) {
{
Config: testAccCheckCloudflareGatewayCategoriesDataSourceConfig(accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_categories.my_categories", "account_id"),
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_categories.my_categories", consts.AccountIDSchemaKey),
resource.TestCheckResourceAttrSet("data.cloudflare_gateway_categories.my_categories", "categories.#"),
),
},
Expand Down
13 changes: 7 additions & 6 deletions internal/framework/service/hyperdrive_config/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

cfv1 "github.com/cloudflare/cloudflare-go"
"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/cloudflare/terraform-provider-cloudflare/internal/utils"
"github.com/hashicorp/terraform-plugin-log/tflog"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
Expand Down Expand Up @@ -113,7 +114,7 @@ func TestAccCloudflareHyperdriveConfig_Basic(t *testing.T) {
return nil
},
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckResourceAttr(resourceName, "origin.port", databasePort),
Expand Down Expand Up @@ -146,7 +147,7 @@ func TestAccCloudflareHyperdriveConfig_Basic(t *testing.T) {
),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", updatedName),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckResourceAttr(resourceName, "origin.port", databasePort),
Expand Down Expand Up @@ -207,7 +208,7 @@ func TestAccCloudflareHyperdriveConfig_CachingSettings(t *testing.T) {
),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckResourceAttr(resourceName, "origin.port", databasePort),
Expand Down Expand Up @@ -293,7 +294,7 @@ func TestAccCloudflareHyperdriveConfig_HyperdriveOverAccess(t *testing.T) {
return nil
},
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckNoResourceAttr(resourceName, "origin.port"),
Expand Down Expand Up @@ -324,7 +325,7 @@ func TestAccCloudflareHyperdriveConfig_HyperdriveOverAccess(t *testing.T) {
),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", updatedName),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckNoResourceAttr(resourceName, "origin.port"),
Expand Down Expand Up @@ -378,7 +379,7 @@ func TestAccCloudflareHyperdriveConfig_Minimum(t *testing.T) {
),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "origin.database", databaseName),
resource.TestCheckResourceAttr(resourceName, "origin.host", databaseHostname),
resource.TestCheckResourceAttr(resourceName, "origin.port", databasePort),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestAccCloudflareInfrastructureAccessTarget_DataSource(t *testing.T) {
resource.TestCheckNoResourceAttr("data.cloudflare_infrastructure_access_targets."+rnd1, "ip.ipv6"),

resource.TestCheckResourceAttr("cloudflare_infrastructure_access_target."+rnd1, "hostname", rnd1),
resource.TestCheckResourceAttr("cloudflare_infrastructure_access_target."+rnd1, "ip.ipv4.ip_addr", "250.26.29.250"),
resource.TestCheckResourceAttr("cloudflare_infrastructure_access_target."+rnd1, "ip.ipv4.ip_addr", "198.51.100.1"),
resource.TestCheckResourceAttr("cloudflare_infrastructure_access_target."+rnd1, "ip.ipv4.virtual_network_id", "b9c90134-52de-4903-81e8-004a3a06b435"),
),
},
Expand All @@ -40,7 +40,7 @@ resource "cloudflare_infrastructure_access_target" "%[2]s" {
hostname = "%[2]s"
ip = {
ipv4 = {
ip_addr = "250.26.29.250",
ip_addr = "198.51.100.1",
virtual_network_id = "b9c90134-52de-4903-81e8-004a3a06b435"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestAccCloudflareInfrastructureAccessTarget_Basic(t *testing.T) {
Config: testAccCloudflareInfrastructureAccessTargetCreate(accID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "hostname", rnd),
resource.TestCheckResourceAttr(resourceName, "ip.ipv4.ip_addr", "250.26.29.250"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv4.ip_addr", "198.51.100.1"),
resource.TestCheckNoResourceAttr(resourceName, "ip.ipv6"),
),
},
Expand All @@ -68,8 +68,8 @@ func TestAccCloudflareInfrastructureAccessTarget_Basic(t *testing.T) {
Config: testAccCloudflareInfrastructureAccessTargetUpdate(accID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "hostname", rnd+"-updated"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv4.ip_addr", "250.26.29.250"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv6.ip_addr", "64c0:64e8:f0b4:8dbf:7104:72b0:ec8f:f5e0"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv4.ip_addr", "198.51.100.1"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv6.ip_addr", "2001:db8::"),
resource.TestCheckResourceAttr(resourceName, "ip.ipv6.virtual_network_id", "01920a8c-dc14-7bb2-b67b-14c858494a54"),
),
},
Expand All @@ -84,7 +84,7 @@ resource "cloudflare_infrastructure_access_target" "%[2]s" {
hostname = "%[2]s"
ip = {
ipv4 = {
ip_addr = "250.26.29.250"
ip_addr = "198.51.100.1"
virtual_network_id = "01920a8c-dc14-7bb2-b67b-14c858494a54"
}
}
Expand All @@ -98,11 +98,11 @@ resource "cloudflare_infrastructure_access_target" "%[2]s" {
hostname = "%[2]s-updated"
ip = {
ipv4 = {
ip_addr = "250.26.29.250"
ip_addr = "198.51.100.1"
virtual_network_id = "01920a8c-dc14-7bb2-b67b-14c858494a54"
},
ipv6 = {
ip_addr = "64c0:64e8:f0b4:8dbf:7104:72b0:ec8f:f5e0"
ip_addr = "2001:db8::"
virtual_network_id = "01920a8c-dc14-7bb2-b67b-14c858494a54"
}
}
Expand Down
1 change: 1 addition & 0 deletions internal/framework/service/list_item/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package list_item
import (
"context"
"fmt"

"github.com/MakeNowJust/heredoc/v2"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/cloudflare/terraform-provider-cloudflare/internal/utils"
Expand Down
7 changes: 4 additions & 3 deletions internal/framework/service/turnstile/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (

cfv1 "github.com/cloudflare/cloudflare-go"
"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/cloudflare/terraform-provider-cloudflare/internal/utils"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)
Expand Down Expand Up @@ -58,7 +59,7 @@ func TestAccCloudflareTurnstileWidget_Basic(t *testing.T) {
Config: testAccCheckCloudflareTurnstileWidgetBasic(rnd, accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "bot_fight_mode", "false"),
resource.TestCheckResourceAttr(resourceName, "domains.#", "1"),
resource.TestCheckResourceAttr(resourceName, "domains.0", "example.com"),
Expand Down Expand Up @@ -90,7 +91,7 @@ func TestAccCloudflareTurnstileWidget_Minimum(t *testing.T) {
Config: testAccCheckCloudflareTurnstileWidgetMinimum(rnd, accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "bot_fight_mode", "false"),
resource.TestCheckResourceAttr(resourceName, "domains.#", "1"),
resource.TestCheckResourceAttr(resourceName, "domains.0", "example.com"),
Expand Down Expand Up @@ -122,7 +123,7 @@ func TestAccCloudflareTurnstileWidget_NoDomains(t *testing.T) {
Config: testAccCheckCloudflareTurnstileWidgetNoDomains(rnd, accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "bot_fight_mode", "false"),
resource.TestCheckResourceAttr(resourceName, "domains.#", "0"),
resource.TestCheckResourceAttr(resourceName, "mode", "managed"),
Expand Down
5 changes: 3 additions & 2 deletions internal/framework/service/user/data_source_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package user_test

import (
"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"os"
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/acctest"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

func TestAccCloudflareUserDataSource(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions internal/framework/service/user/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package user

import (
"context"

"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func TestAccCloudflareAccessIdentityProvider_AzureAD(t *testing.T) {
{
Config: testAccCheckCloudflareAccessIdentityProviderAzureAD(accountID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "type", "azureAD"),
resource.TestCheckResourceAttr(resourceName, "config.0.client_id", "test"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestAccCloudflareAccountMember_DirectAdd(t *testing.T) {
{
Config: testCloudflareAccountMemberDirectAdd(rnd, "millie@cloudflare.com", accountID),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "email_address", "millie@cloudflare.com"),
resource.TestCheckResourceAttr(name, "role_ids.#", "1"),
resource.TestCheckResourceAttr(name, "role_ids.0", "05784afa30c1afe1440e79d9351c7430"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package sdkv2provider
import (
"context"
"fmt"

"github.com/pkg/errors"

"github.com/MakeNowJust/heredoc/v2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"testing"

"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand All @@ -20,7 +21,7 @@ func TestAccCloudflareDeviceDexTest_Traceroute(t *testing.T) {
{
Config: testAccCloudflareDeviceDexTestsTraceroute(accountID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "name", rnd),
resource.TestCheckResourceAttr(name, "description", rnd),
resource.TestCheckResourceAttr(name, "interval", "0h30m0s"),
Expand All @@ -46,7 +47,7 @@ func TestAccCloudflareDeviceDexTest_TracerouteIPv4(t *testing.T) {
{
Config: testAccCloudflareDeviceDexTestsTracerouteIpv4(accountID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "name", rnd),
resource.TestCheckResourceAttr(name, "description", rnd),
resource.TestCheckResourceAttr(name, "interval", "0h30m0s"),
Expand All @@ -72,7 +73,7 @@ func TestAccCloudflareDeviceDexTest_HTTP(t *testing.T) {
{
Config: testAccCloudflareDeviceDexTestsHttp(accountID, rnd),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "name", rnd),
resource.TestCheckResourceAttr(name, "description", rnd),
resource.TestCheckResourceAttr(name, "interval", "0h30m0s"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestAccCloudflareDLPProfile_CustomWithAllowedMatchCount(t *testing.T) {
{
Config: testAccCloudflareDLPProfileConfigCustomWithAllowedMatchCount(accountID, rnd, "custom profile", 42),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "name", rnd),
resource.TestCheckResourceAttr(name, "description", "custom profile"),
resource.TestCheckResourceAttr(name, "allowed_match_count", "42"),
Expand Down Expand Up @@ -120,7 +120,7 @@ func TestAccCloudflareDLPProfile_CustomWithOCREnabled(t *testing.T) {
{
Config: testAccCloudflareDLPProfileConfigCustomWithOCREnabled(accountID, rnd, "custom profile", true),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(name, "account_id", accountID),
resource.TestCheckResourceAttr(name, consts.AccountIDSchemaKey, accountID),
resource.TestCheckResourceAttr(name, "name", rnd),
resource.TestCheckResourceAttr(name, "description", "custom profile"),
resource.TestCheckResourceAttr(name, "allowed_match_count", "0"),
Expand Down
4 changes: 2 additions & 2 deletions internal/sdkv2provider/resource_cloudflare_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ func TestAccCloudflareQueue_Basic(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
testAccCheckCloudflareQueueExists(rnd, &queue),
resource.TestCheckResourceAttr(resourceName, "name", rnd),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
),
},
{
Config: testAccCheckCloudflareQueue(rnd, accountID, rnd+"-updated"),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "name", rnd+"-updated"),
resource.TestCheckResourceAttr(resourceName, "account_id", accountID),
resource.TestCheckResourceAttr(resourceName, consts.AccountIDSchemaKey, accountID),
),
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package sdkv2provider
import (
"context"
"errors"
"time"

"github.com/MakeNowJust/heredoc/v2"
"github.com/cloudflare/cloudflare-go"
"github.com/cloudflare/terraform-provider-cloudflare/internal/consts"
"time"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down

0 comments on commit f15bf02

Please sign in to comment.