-
Notifications
You must be signed in to change notification settings - Fork 31
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
ad_computer_to_ou creating duplicate computer object #15
Comments
Did you use the provider to create the computer and then do a terraform plan to move it ? If so then it will not work. There is no update capability in this provider yet. Only Create/Read / Delete |
@dhansuhvt this provider supports create new AD Object and not to move existing AD Object from one OU to other. Results your observing is expected. |
Thanks for the update . |
Will this feature be available at some point ? |
Hello..Having issue when moving computer object to new OU.Rather than moving existing compute object it's creating new computer object in target OU.
provider "ad" {
domain = "${var.VM_Domain}"
user = "${var.domain_user}"
password = "${var.domain_admin_password}"
ip = "${var.ad_server_ip}"
}
Add computer to Organizational Unit of Active Directory
resource "ad_computer_to_ou" "server_ou" {
ou_distinguished_name = "${var.domain_ou}"
computer_name = "${var.vsphere_virtual_machine_name}"
}
The text was updated successfully, but these errors were encountered: