Open Kronk74 opened 3 years ago
I think I know where the issue is. As I'm using a unix machine, I cannot exec 'powershell.exe' from there :
I installed powershell on my machine but It doesn't work too. Maybe due to ´.exe´ extension. This provider seems specifically dedicated to Windows machines.
Hello @Kronk74 ,
It doesn't have anything to do with powershell.exe. As long as your winrm client (regardless of the os) can authenticate to the remote server it should work as it's the remote server (domain controller/ server with rsat installed) that will execute the cmd "powershell.exe -command ..."
At first side, based on your log output I don't really know where to look... Could it be a connectivity issue ?
Hello @jpatigny ,
Oki I understand better how it works. I'll try to see if winrm client on my linux machine work and can reach AD server. Thanks for your message.
Hello guys. I am seeing this exact same behaviour today when testing creating an AD group with this provider. From my Mac machine it just seems to hang and never create the AD group. Did either of you get to the bottom of this?
I'm seeing the same issue when using "ad_group_membership". Getting stuck on "Still creating..." and either timing out or have to cancel manually. I've tried a bunch of stuff and nothing seems to be working.
Hello,
I'm trying to use this provider to create groups on a Active directory server but nothing happen when I apply.
Is it a bug or a bad configuration ?
Best regards,
Thomas
Terraform Version and Provider Version
terraform version : 13.4 ad provider: 0.4.2
OS
I use a linux machine to launch terraform. (Nixos)
Affected Resource(s)
ad_group
Terraform Configuration Files
provider.tf
ad.tf
krb5.conf
Debug Output
Expected Behavior
Create a group.
Actual Behavior
Nothing happened.
Steps to Reproduce
terraform init
terraform plan
terraform apply
Community Note