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

[FeatureRequest] Create "local" mode #62

Open
ghost opened this issue May 2, 2021 · 1 comment
Open

[FeatureRequest] Create "local" mode #62

ghost opened this issue May 2, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented May 2, 2021

The current usage workflow connects via winrm to a remote windows to setup hyperv.

In my use case I deploy terraform in the hyper-v system, and connect via 127.0.0.1
However GPO create problems because the winrm modules used in this project require basic authentication and they do not offer ntlm cyphering.

One alternative is having another communication channel: offer ssh in addition to winrm.

The other alternative, and the one suggested here, create a flag "local = true" in the hyperv config settings to execute all the powershell commands in the same host running terraform. In this scenario username, password, host, etc... will not be used....
Powershell commands would be executed with the same credentials of terraform.
This will avoid all kind of communication errors, and if I want to use this pluging in a remote system... I deploy in this system terraform+plugin, connect via ssh, and execute everthing in local mode.

@ghost ghost changed the title Allow "local" mode Create "local" mode May 2, 2021
@taliesins
Copy link
Owner

@malikumaliku not sure what you mean by "nltm cyphering". The provider supports basic, ntlm and with the new release kerberos.

I have done a bit of refactoring that should make this easier to implement, so I am going to leave this feature request open (and time permitting give it a go)

@taliesins taliesins changed the title Create "local" mode [FeatureRequest] Create "local" mode Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant