-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure provider do not support user_data #2851
Comments
Ok. I can do almost this same with provision file and remote-exec |
It cannot do this same with provision file and remote-exec. Please add support for user_data (custom_data for Azure) |
+1 |
definitely +1 |
+1 |
@everyone: sadly; at the time of the writing of the Azure provider for Terraform; the go sdk was based on the old ASM API's which made sending userdata difficult. As a result; even nowadays the go sdk does not support instance user_data over the old ASM API's. The addition of the new ARM API's should lead to the enablement of all these problems though. |
@aznashwan It seems like it IS possible to do user data with the current SDK: I know you guys are moving to ARM from ASM, but this would be a relatively easy fix if we do something a bit custom here: https://github.com/hashicorp/terraform/blob/master/builtin/providers/azure/resource_azure_instance.go#L283, instead of relying on their helper (which doesn't take custom data). Would you accept a PR for this as a stop gap solution? Not having custom data on azure really limits it's use case for me (and I presume many others). |
Closed via #8158 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Azure provider do not support user_data. I cannot automatically deploy CoreOS cluster at Azure without this options.
The text was updated successfully, but these errors were encountered: