test-kitchen / kitchen-azurerm

A driver for Test Kitchen that works with Azure Resource Manager
Apache License 2.0
48 stars 52 forks source link

user_data in Azure linux VM #262

Open vanshikw opened 1 year ago

vanshikw commented 1 year ago

Hi,

I want to pass user data to the instance launched using kitchen test and I want to be able to get it in response of Azure metadata API in userData key. How to achieve this?

I did not find any documentation on this, please guide me here.

I tried passing user data by giving the file in user_data in kitchen.yml but I was not able retrieve it using Azure metadata API