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

Remove-GPO is triggered with unquotted string #183

Open
lineardraft opened this issue Oct 19, 2023 · 0 comments
Open

Remove-GPO is triggered with unquotted string #183

lineardraft opened this issue Oct 19, 2023 · 0 comments

Comments

@lineardraft
Copy link

Want to report an issue with destroy of GPO resource. If the GPO name is containing spaces or any special character, the resource is destroyed from the state but remains present as the Group Policy.
Upon closer exception of TFLOG, I see that the command is triggered with unquoted name of the GPO.
With this specific name 'test' it's fine, but with anything that contains spaces it's not deleted.

image

https://github.com/hashicorp/terraform-provider-ad/blame/74583306682edaf41834c17711db3e32f359d692/ad/internal/winrmhelper/winrm_gpo.go#L260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant