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

ad_group does not have a state visibility #161

Open
nhemchandra opened this issue Nov 3, 2022 · 1 comment
Open

ad_group does not have a state visibility #161

nhemchandra opened this issue Nov 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nhemchandra
Copy link

Terraform Version and Provider Version

Terraform v1.2.9

Windows Version

MAC or Windows10

Affected Resource(s)

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

Debug Output

ad_group.g: Creating...

│ Error: Provider produced inconsistent result after apply

│ When applying changes to ad_group.g, provider "provider["registry.terraform.io/hashicorp/ad"]" produced an unexpected new value: Root resource was present, but now
│ absent.

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Panic Output

Expected Behavior

What should have happened?
AD group creation process should have been graceful and reflected in the state
Next time when we run again, it does not see any changes, it wont touch the resource.
If there are changes, it goes and update the resource.
If we remove the resource "ad_group" block, it should be able to delete the resource.
This is what expected with terraform.

Actual Behavior

What actually happened?
AD group created and not tracked in the state.
ad_group.g: Creating...

│ Error: Provider produced inconsistent result after apply

│ When applying changes to ad_group.g, provider "provider["registry.terraform.io/hashicorp/ad"]" produced an unexpected new value: Root resource was present, but now
│ absent.

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Steps to Reproduce

Important Factoids

References

  • GH-1234

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@nhemchandra nhemchandra added the bug Something isn't working label Nov 3, 2022
@shyamnguitar
Copy link

Hi @nhemchandra and all, I have to use provider for Windows AD for adding users to AD group hosted by Production grade AD server. while the documentation says the current provider is still in experimental phase and has to mature to be implemented in production and to have support.

Are there any workarounds for the same using Terraform for user addition to AD groups or AD group creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants