Skip to content

Commit

Permalink
Deprecate resource type cloudflare_ip_list in favor of `cloudflare_…
Browse files Browse the repository at this point in the history
…list`.
  • Loading branch information
orium committed Jun 15, 2022
1 parent ed0fcb5 commit 143ddc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/provider/resource_cloudflare_ip_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import (
"github.com/pkg/errors"
)

// The resource in this file is deprecated and should be removed on the next major release.
// Use the more general `list` resource instead.

func resourceCloudflareIPList() *schema.Resource {
return &schema.Resource{
Schema: resourceCloudflareIPListSchema(),
Expand All @@ -22,6 +25,7 @@ func resourceCloudflareIPList() *schema.Resource {
Importer: &schema.ResourceImporter{
StateContext: resourceCloudflareIPListImport,
},
DeprecationMessage: "This resource is deprecated, use the `cloudflare_list` instead.",
}
}

Expand Down

0 comments on commit 143ddc3

Please sign in to comment.