Clarification Needed on Deprecated zone_redundant Flag for Event Hub in Terraform v4.0

Thomaskyle 380 Reputation points
2024-08-30T06:40:50.2433333+00:00

Hi Team, We have been using Terraform to create an Event Hub with the zone_redundant flag set to true. We encountered the following message:

"The zone_redundant property has been deprecated and will be removed in v4.0 of the provider."

With the release of v4.0, this flag is no longer accepted. However, our Microsoft representatives were unaware of the deprecation, and the flag still appears in the Azure Portal UI. We seek clarification on whether this flag is truly obsolete. If it is, we need documentation to confirm this since removing it from Terraform does not default to "true," and previous references we found were inconclusive. If the flag is not redundant, we need guidance on adjusting our Terraform script to achieve the desired effect.

We encountered a fatal error with the flag in place post-v4.0, and with it removed, we verified that the Event Hub created did not include this property.

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
648 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,241 Reputation points
    2024-09-10T03:32:50.9966667+00:00

    @Thomaskyle - Thanks for the question and using MS Q&A platform.

    UPDATE:(15/09/2024): We confirmed with the Terraform team that this has been removed from v4.0. For reference, here is v3.x documentation and v4.0 documentation, where the zone_redundant field has been removed from the v4.0 documentation. It has also been removed from the resource in the HashiCorp v4.0 Upgrade guide.

    The flag is obsolete because the goal is to have each namespace AZ by default in the supported regions.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.