Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Nüüül
Advisor

Terraform deprecating "azurerm_virtual_machine_scale_set" used in Check Points TF Templates

Hi,

 

currently trying to create / deploy CP VMScale Sets on Azure. I am Running into the following:

 

https://registry.terraform.io/providers/hashicorp/azurerm/3.42.0/docs/resources/virtual_machine_scal...

Note:

The azurerm_virtual_machine_scale_set resource has been deprecated in favour of the azurerm_linux_virtual_machine_scale_set and azurerm_windows_virtual_machine_scale_set resources. Whilst this will continue to be available throughout the 2.x and 3.x releases however is in a feature-frozen state to maintain compatibility - new functionality will instead be added to the azurerm_linux_virtual_machine_scale_set and azurerm_windows_virtual_machine_scale_set resources and the azurerm_virtual_machine_scale_set resource will be removed in the future.

Are there plans to create TF Configs using the newer resources?

 

Main issue is, "azurerm_linux_virtual_machine_scale_set " does not support os_profile setting, which used for cloud-init running /etc/cloud_config.py - what ever it is doing

 

 

Or am I completely wrong? Then Sorry and any hint is appreciated 🙂

 

 

Cheers,

 

Daniel

0 Kudos
1 Reply
yairra
Employee
Employee

Hi @Nüüül 

We are in the middle of a release process for the TF templates,
The updated version of the templates includes the azurerm provider version upgrade and all of the relevant resources (such as azurerm_virtual_machine_scale_set which was replaced by azurerm_linux_virtual_machine_scale_set).
The new templates will be available by EOM (probably earlier).

Regarding the os_profile, it is indeed not supported for azurerm_linux_virtual_machine_scale_set resource, 
But we are still able to pass the relevant parameters for cloud config by using the custom_data field  - (https://registry.terraform.io/providers/hashicorp/azurerm/3.42.0/docs/resources/linux_virtual_machin...

If you need the updated version earlier please contact me and I'll share the GA-ready version of the templates

Best regards,
Yair

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.