Skip to content
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

Closed
stonevil opened this issue Jul 27, 2015 · 9 comments
Closed

Azure provider do not support user_data #2851

stonevil opened this issue Jul 27, 2015 · 9 comments

Comments

@stonevil
Copy link

Azure provider do not support user_data. I cannot automatically deploy CoreOS cluster at Azure without this options.

@stonevil
Copy link
Author

Ok. I can do almost this same with provision file and remote-exec

@stonevil stonevil reopened this Jul 29, 2015
@stonevil
Copy link
Author

It cannot do this same with provision file and remote-exec.

Please add support for user_data (custom_data for Azure)

@mtekel
Copy link

mtekel commented Aug 24, 2015

+1

@saliceti
Copy link
Contributor

definitely +1

@keymon
Copy link
Contributor

keymon commented Aug 27, 2015

+1

@aznashwan
Copy link
Contributor

@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.
For updates on the status of the transition; please refer to #3212

@skevy
Copy link

skevy commented Dec 3, 2015

@aznashwan It seems like it IS possible to do user data with the current SDK:

https://github.com/Azure/azure-sdk-for-go/blob/1a29bf058b780f6a05fc67111efae7930c4a1621/management/virtualmachine/entities.go#L349

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).

@stack72
Copy link
Contributor

stack72 commented Aug 14, 2016

Closed via #8158

@stack72 stack72 closed this as completed Aug 14, 2016
@ghost
Copy link

ghost commented Apr 23, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants