Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation notice for zone, take 2 #452

Merged
merged 1 commit into from
Aug 22, 2019

Conversation

jacobbednarz
Copy link
Member

We have been working to perform some breaking changes in #227 and the
first attempt at this in #421 neglected to allow people to set zone_id
and action the deprecation notice 🤦

This second attempt has the same goal of deprecating zone in favour of
explicit zone_id however this time I've updated both schema properties
to be optional and added some validation in the various Create methods
to ensure that we get at least one of them during the swap over period.
That code can be removed as soon we've cut a breaking change release.

Closes #439

We have been working to perform some breaking changes in cloudflare#227 and the
first attempt at this in cloudflare#421 neglected to allow people to set `zone_id`
and action the deprecation notice 🤦

This second attempt has the same goal of deprecating `zone` in favour of
explicit `zone_id` however this time I've updated both schema properties
to be optional and added some validation in the various `Create` methods
to ensure that we get at least one of them during the swap over period.
That code can be removed as soon we've cut a breaking change release.

Closes cloudflare#439
@patryk patryk merged commit d1b586b into cloudflare:master Aug 22, 2019
@jacobbednarz jacobbednarz deleted the zone-to-zone-id-take-2 branch August 22, 2019 22:53
syed-awais-ali referenced this pull request in syed-awais-ali/terraform-provider-cloudflare Sep 16, 2019
Since zone is deprecated in favour of explicit zone_id which is settable so I have updated the docs to reflect the same change 

https://github.com/terraform-providers/terraform-provider-cloudflare/pull/452
patryk referenced this pull request Sep 16, 2019
Since zone is deprecated in favour of explicit zone_id which is settable so I have updated the docs to reflect the same change 

https://github.com/terraform-providers/terraform-provider-cloudflare/pull/452
boekkooi-lengoo pushed a commit to boekkooi-lengoo/terraform-provider-cloudflare that referenced this pull request Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cloudflare_page_rule - zone_id cannot be set
2 participants