-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
r/storage_account: defaulting the value for dns_endpoint_type
#25367
Conversation
This field defaults to `null` if unset in the API response, therefore needs to be explicitly defaulted on our side
@tombuildsstuff Thanks for fixing this so quickly. As #22583 was quite a dangerous change and was apparently released without notice, is there any further plan to devise automated checks protecting against such serious regressions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tombuildsstuff LGTM 👍
The root cause of this one is that the API returns I suspect that were this resource fully using Lines 640 to 641 in 571e6d6
On the other hand Line 24 in 571e6d6
Whilst it's disappointing this bug slipped through (and we'll ship a fix once the tests have passed) - to be honest the behaviour of the Storage Accounts API is problematic here - if there's an implied default value for a field then (IMO) it should be returned rather than being All that to say, apologies for the inconvenience here - it's unfortunate this slipped through, however I suspect that moving this resource towards Thanks! |
This functionality has been released in v3.97.1 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Shouldn't release |
Same issue, multiple storage accounts wiped out with 3.97.0, should have been yanked 4 sure. Thumbed up. |
I'm sure you're aware that the vast majority of users use the I've built such end-to-end tests for infrastructure-as-code systems already, and they're tough when it comes to details, such as making them finish in less than a day without much flakiness 😺 But they really do pay off! Is there some public place where I could have a look at the current state of affairs regarding tests? I suppose you already have an Azure subscription/account to run I also agree that you should really delete the release |
<Actions> <action id="f410411e63aff4bb73a81c2aec1d373cf8a903e63b30dee2006b0030d8a94cc8"> <h3>Bump Terraform `azurerm` provider version</h3> <details id="1d9343c012f5434ac9fe8a98135bae3667b399259be16d9b14302ea3bd424a24"> <summary>Update Terraform lock file</summary> <p>changes detected:
	"hashicorp/azurerm" updated from "3.96.0" to "3.97.1" in file ".terraform.lock.hcl"</p> <details> <summary>3.97.1</summary> <pre>Changelog retrieved from:
	https://github.com/hashicorp/terraform-provider-azurerm/releases/tag/v3.97.1
ENHANCEMENTS:

* `azurerm_nginx_deployment` - support for the `configuration` block ([#24276](https://github.com/hashicorp/terraform-provider-azurerm/issues/24276))

BUG FIXES:

* `azurerm_data_factory_integration_runtime_self_hosted` - ensure that autorizationh keys are exported ([#25246](hashicorp/terraform-provider-azurerm#25246 `azurerm_storage_account` - defaulting the value for `dns_endpoint_type` to `Standard` when it's not returned from the Azure API ([#25367](https://github.com/hashicorp/terraform-provider-azurerm/issues/25367))



</pre> </details> </details> <a href="https://infra.ci.jenkins.io/job/updatecli/job/azure/job/main/69/">Jenkins pipeline link</a> </action> </Actions> --- <table> <tr> <td width="77"> <img src="https://www.updatecli.io/images/updatecli.png" alt="Updatecli logo" width="50" height="50"> </td> <td> <p> Created automatically by <a href="https://www.updatecli.io/">Updatecli</a> </p> <details><summary>Options:</summary> <br /> <p>Most of Updatecli configuration is done via <a href="https://www.updatecli.io/docs/prologue/quick-start/">its manifest(s)</a>.</p> <ul> <li>If you close this pull request, Updatecli will automatically reopen it, the next time it runs.</li> <li>If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.</li> </ul> <p> Feel free to report any issues at <a href="https://github.com/updatecli/updatecli/issues">github.com/updatecli/updatecli</a>.<br /> If you find this tool useful, do not hesitate to star <a href="https://github.com/updatecli/updatecli/stargazers">our GitHub repository</a> as a sign of appreciation, and/or to tell us directly on our <a href="https://matrix.to/#/#Updatecli_community:gitter.im">chat</a>! </p> </details> </td> </tr> </table> Co-authored-by: Jenkins Infra Bot (updatecli) <[email protected]>
@tombuildsstuff Running a upgrade test every week before release sounds to me like something very useful to stop azurerm from making breaking changes in minor version changes all the time. |
This currently leads to terraform re-creating storage-accounts on provider-update when |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
This field defaults to
null
if unset in the API response, therefore needs to be explicitly defaulted on our sideFixes #25364