Skip to content

[AVM Module Issue]: enable_automatic_updates property is being deprecated #210

@richyrichking

Description

@richyrichking

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Feature Request

(Optional) Module Version

0.19.3

(Optional) Correlation Id

No response

Description

I haven't been able to narrow down which version of the azurerm provider is bringing this warning up, but in the past few weeks, I've noticed the following at the end of my terraform apply:

Warning: Argument is deprecated

  with module.cip-sql-db-compute.azurerm_windows_virtual_machine.this[0],
  on .terraform/modules/cip-sql-db-compute/main.windows_vm.tf line 24, in resource "azurerm_windows_virtual_machine" "this":
  24:   enable_automatic_updates                               = var.enable_automatic_updates

this property has been deprecated in favour of automatic_updates_enabled and
will be removed in 5.0 of the provider.

I'm flagging this as this module likely needs a small change in the property used for enabling automatic updates to be compatible with version 5 of the azurerm provider once released.
Changing from enable_automatic_updates to ** automatic_updates_enabled** seems to be what's required.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions