The Wire · Showcase
AZURE PROVIDER TIGHTENS TEST DISCIPLINE, LINT RULES EXPAND 39 TO 70
By RepoJournal · Filed · About HashiCorp
Terraform's Azure provider is shipping stricter acceptance test guards and a major linting overhaul that caught two real bugs in the codebase.
The Azure provider pulled the trigger on tfproviderlintx, expanding the lint ruleset from 39 to 70 checks and enabling 31 new rules for the first time since 2021 [1]. The rollout fixed every violation found, including two genuine bugs lurking in the existing code. In parallel, test infrastructure is getting harder to break: a new regression test now blocks resource recreation when a field is ForceNew, preventing the silent failures that slip past plan checks [2]. Azure also added contributor documentation with a complete acceptance test example for state migrations, lowering the bar for future PRs [5]. Over in the Google Beta provider, the week brought two feature additions: schedule customization support for rule deployment resources [3] and labels field support for BigQuery reservations [4]. The Magician continues syncing upstream, landing test fixes for PSC-enabled SQL instances and CES security settings [ref:10, ref:11, ref:12]. Nomad and Nomad Pack pushed nightly snapshots to dev channels [ref:6, ref:7].
One email a day. Unsubscribe in one click.
Keep up with HashiCorp in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Azure provider's new lint rules before next release cycle; two bugs were caught hashicorp/terraform-provider-azurerm [plan]
- → Update test harnesses to enforce ForceNew field guard patterns hashicorp/terraform-provider-azurerm [plan]
- → Monitor Google Beta nightly builds for test stability hashicorp/terraform-provider-google-beta [monitor]
References
- [1] switch to tfproviderlintx and enable a number of new rules ↗ hashicorp/terraform-provider-azurerm
- [2] `testing` - regression test should not allow recreate ↗ hashicorp/terraform-provider-azurerm
- [3] Add support for scheduleCustomizations in the rule deployment resource. ↗ hashicorp/terraform-provider-google-beta
- [4] bigqueryreservation: add `labels` field to `google_bigquery_reservation` ↗ hashicorp/terraform-provider-google-beta
- [5] Contributor Docs: add acceptance test example for state migrations ↗ hashicorp/terraform-provider-azurerm
- [6] Add support for scheduleCustomizations in the rule deployment resource. (#18364) (#12856) hashicorp/terraform-provider-google-beta
- [7] Fix TestAccSqlDatabaseInstance_withPSCEnabled_withAutoConnectionPolicy in GA provider (#18279) (#12855) hashicorp/terraform-provider-google-beta
- [8] ces: fix TestAccCESSecuritySettings_cesSecuritySettingsExample_update in GA (#18499) (#12854) hashicorp/terraform-provider-google-beta
- [9] nightly ↗ hashicorp/nomad-driver-podman
- [10] nightly ↗ hashicorp/nomad-pack