Skip to content

Commit

Permalink
Add deprecation message to tiered_caching in Argo resource
Browse files Browse the repository at this point in the history
  • Loading branch information
foreseaz committed Nov 2, 2023
1 parent b8dfaa0 commit a3896ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/sdkv2provider/resource_cloudflare_argo.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ func resourceCloudflareArgo() *schema.Resource {
Cloudflare Argo controls the routing to your origin and tiered
caching options to speed up your website browsing experience.
`),
DeprecationMessage: heredoc.Doc(fmt.Sprintf(`
%s field in argo resource is in deprecation phase that will last for one year (Nov 1, 2024).
During this time period, this field is still fully supported but you are strongly advised
to move to the %s resource to manage Cloudflare Tiered Cache settings.
`, "`tiered_caching`", "`cloudflare_tiered_cache`")),
}
}

Expand Down

0 comments on commit a3896ff

Please sign in to comment.