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

Creating truststore certificate resource showing "inconsistent result" error #446

Open
1 task done
fletch3555 opened this issue Jun 11, 2024 · 3 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@fletch3555
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.5.7

Nexus Provider Version

2.2.0

Nexus Version

3.67.1

Affected Resource(s)/Data Source(s)

nexus_security_ssl_truststore

Terraform Configuration Files

resource "nexus_security_ssl_truststore" "mycert" {
  pem = file("${path.module}/mycert.pem") #cert contents are irrelevant, so just use any you have available
}

Debug Output/Panic Output

╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to nexus_security_ssl_truststore.mycert, provider "provider[\"registry.terraform.io/datadrivers/nexus\"]" 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.

Expected Behaviour

Certificate resource should be created without error

Actual Behaviour

Certificate resource is added, but error is displayed

Steps to Reproduce

  1. terraform apply

References

No response

@fletch3555 fletch3555 added the bug Something isn't working label Jun 11, 2024
@fletch3555
Copy link
Author

I understand my terraform version is out of date, but it was installed with homebrew and does not show any updates available for me. I'm working on that. In the meantime, I'm not convinced that's particularly relevant, but if you disagree, I can certainly try to get an updated version running and test again with that.

@chris-ruecker
Copy link
Contributor

Hello, i was not able to reproduce the issue. I tried it with the same Terraform version, and the newest version of nexus (3.69.0), with a self signed mycert.pem.

@fletch3555
Copy link
Author

We're in the process of updating to 3.69.0, so I'll test again then. If that still doesn't work, I'll get my terraform version updated as well.

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
Status: High priority
Development

No branches or pull requests

2 participants