terraform-azurerm-compute
terraform-azurerm-compute copied to clipboard
Custom_data no longer works
- Terraform Version: 0.14.7
- OS Version: Mac OSX 11.2.3
Bug description: Creating a terraform compute machine using this module with the custom_data variable results in the virtual machine not containing any user data Steps to reproduce:
- Create a basic Ubuntu 18.04 vm
- Add simple user data and base64encode it
- Apply and validate the userdata in Azure and on the machine
Thanks for opening this issue!
Hi, thanks for opening this issue. According to the resource definition, Terraform will base64 encode the custom data, I think you don't need to base64 encode the custom data. If the problem still exist, please provide your script, and you reproducing steps, the results and your expected results.
I'm closing this issue since no response from the user.