<story><title>Remove default &quot;terraform&quot; partner_id</title><url>https://github.com/terraform-providers/terraform-provider-azurerm/issues/4747</url></story><parent_chain></parent_chain><comment><author>mitchellh</author><text>Hi everyone,&lt;p&gt;I&amp;#x27;m the founder of HashiCorp.&lt;p&gt;I want to make something clear up front that this does NOT allow us to see resource usage by Terraform user and does NOT result in credits or revenue sharing at all. HashiCorp has no direct access to this information in any form.&lt;p&gt;Before explaining &amp;quot;why&amp;quot; we do this, I do want to apologize and say that adding this without proper explanation was a mistake. It isn&amp;#x27;t clear why it&amp;#x27;s there and I think enough companies have hurt users with features like this that defaulting to a negative reaction makes sense. I&amp;#x27;m sorry. I promise (and will explain) that our usage is not nefarious, and even further this ID does not give us access to anything directly.&lt;p&gt;The &amp;quot;why&amp;quot;: the partner ID lets Microsoft better track Terraform usage internally (with data they already have access to, just lets them filter it by Terraform). Microsoft does share aggregate information with us (&amp;quot;x% of all Azure workloads&amp;quot;) but does not go any more granular than that.&lt;p&gt;This information is used by Microsoft to gauge how much investment to make into Terraform as well as what resources are a priority to fix any issues or make improvements to. Microsoft is a big partner of ours[1] and as part of that partnership they employ full-time people to improve the Terraform provider. Part of making that partnership successful is measuring the output of it and this is one mechanism that allows them to do that. I can say that the usage information given by this partner code has directly resulted in more headcount being assigned to the &amp;quot;azurerm&amp;quot; Terraform provider that may not have been otherwise assigned.&lt;p&gt;Note that all this partner ID does is let Microsoft filter by &amp;quot;Terraform.&amp;quot; They already have and use all information around what resources are being spun up by accounts (as you would expect any IaaS or even SaaS to do). This doesn&amp;#x27;t introduce anything else other than that easier filter for them.&lt;p&gt;The partner ID used by Terraform was provided directly by Microsoft and generated by them. It is not associated with our Azure accounts at all. This is an extra assurance that we don&amp;#x27;t have access to any partner information using this ID.&lt;p&gt;Some have pointed out that the docs specifically state that this is used for credit&amp;#x2F;revenue sharing. That is a feature of the partner ID but not one that we use. Azure is a large, complex platform and features are overloaded for different use cases. In our case, the partner ID does NOT provide us with any information, credits, or revenue. Zero.&lt;p&gt;Going forward, we will be building an option to opt out of using this partner ID. It was already noted in other comments that we made it configurable since there are other use cases for it that a Terraform user might want to set. We haven&amp;#x27;t made a direct option to opt-out and we will do that in the next release. As a workaround today, you can set any partner ID you want (an invalid value) and we will send that and that will function similarly.&lt;p&gt;Note that for years all our providers have also sent a custom user agent that notes Terraform and the version of Terraform being used. We haven&amp;#x27;t been secret about this (I&amp;#x27;ve publicly tweeted about it many times), but it feels important to call out in this comment as well. This information could also be used by providers to determine Terraform usage. Similarly, HashiCorp has no direct access to this information.&lt;p&gt;I&amp;#x27;m happy to answer any questions, and once again I&amp;#x27;m sorry about how this wasn&amp;#x27;t communicated up front.&lt;p&gt;EDIT (2 hours after posting): We&amp;#x27;ve opened a PR for adding the opt-out behavior which also includes an environment variable you can set. We plan to include this as part of the next patch release. &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;terraform-providers&amp;#x2F;terraform-provider-azurerm&amp;#x2F;pull&amp;#x2F;4751&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;terraform-providers&amp;#x2F;terraform-provider-az...&lt;/a&gt;&lt;p&gt;[1]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.hashicorp.com&amp;#x2F;blog&amp;#x2F;hashicorp-and-microsoft-extend-multi-year-collaboration-agreement&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.hashicorp.com&amp;#x2F;blog&amp;#x2F;hashicorp-and-microsoft-exten...&lt;/a&gt;</text></comment>
<story><title>Remove default &quot;terraform&quot; partner_id</title><url>https://github.com/terraform-providers/terraform-provider-azurerm/issues/4747</url></story><parent_chain></parent_chain><comment><author>davidu</author><text>Isn&amp;#x27;t this what Partner ID is designed for?&lt;p&gt;&amp;quot;Injects&amp;quot; is a strong word.&lt;p&gt;Maybe &amp;quot;Hashicorp provides an Azure Partner ID in Terraform deployments for deployment stats, and some users may not want that&amp;quot; would be a better title.</text></comment>