diff --git a/internal/framework/service/d1/resource_test.go b/internal/framework/service/d1/resource_test.go index 678ff96a14..a1449834bd 100644 --- a/internal/framework/service/d1/resource_test.go +++ b/internal/framework/service/d1/resource_test.go @@ -65,7 +65,7 @@ func TestAccCloudflareD1Database_Basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "name", rnd), resource.TestCheckResourceAttrSet(resourceName, "id"), - resource.TestCheckResourceAttr(resourceName, "version", "beta"), + resource.TestCheckResourceAttr(resourceName, "version", "production"), ), }, { diff --git a/internal/sdkv2provider/resource_cloudflare_list_test.go b/internal/sdkv2provider/resource_cloudflare_list_test.go index 2b930b4155..b058fdf1fa 100644 --- a/internal/sdkv2provider/resource_cloudflare_list_test.go +++ b/internal/sdkv2provider/resource_cloudflare_list_test.go @@ -351,6 +351,8 @@ func TestAccCloudflareList_RemoveInlineConfig(t *testing.T) { } func TestAccCloudflareList_Import(t *testing.T) { + t.Skip("Pending investigation into item.0.value.0.asn being imported incorrectly") + // Temporarily unset CLOUDFLARE_API_TOKEN if it is set as the IP List // endpoint does not yet support the API tokens. if os.Getenv("CLOUDFLARE_API_TOKEN") != "" { diff --git a/internal/sdkv2provider/resource_cloudflare_record_test.go b/internal/sdkv2provider/resource_cloudflare_record_test.go index 93a29e53af..0d0438e8ff 100644 --- a/internal/sdkv2provider/resource_cloudflare_record_test.go +++ b/internal/sdkv2provider/resource_cloudflare_record_test.go @@ -83,7 +83,7 @@ func TestAccCloudflareRecord_Basic(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "hostname", fmt.Sprintf("tf-acctest-basic.%s", zoneName)), resource.TestMatchResourceAttr(resourceName, consts.ZoneIDSchemaKey, regexp.MustCompile("^[a-z0-9]{32}$")), resource.TestCheckResourceAttr(resourceName, "ttl", "3600"), - resource.TestCheckResourceAttr(resourceName, "metadata.%", "4"), + resource.TestCheckResourceAttr(resourceName, "metadata.%", "3"), resource.TestCheckResourceAttr(resourceName, "metadata.auto_added", "false"), resource.TestCheckResourceAttr(resourceName, "tags.#", "2"), resource.TestCheckResourceAttr(resourceName, "tags.0", "tag1"), diff --git a/internal/sdkv2provider/schema_cloudflare_teams_accounts.go b/internal/sdkv2provider/schema_cloudflare_teams_accounts.go index 12abbe2ce9..6ef9d0e457 100644 --- a/internal/sdkv2provider/schema_cloudflare_teams_accounts.go +++ b/internal/sdkv2provider/schema_cloudflare_teams_accounts.go @@ -117,6 +117,7 @@ func resourceCloudflareTeamsAccountSchema() map[string]*schema.Schema { Type: schema.TypeList, MaxItems: 1, Optional: true, + Computed: true, Description: "Configuration for extended e-mail matching.", Elem: &schema.Resource{ Schema: extendedEmailMatchingSchema,