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

confusing provider name and resource type #1

Open
kvanbrabant opened this issue May 11, 2022 · 2 comments
Open

confusing provider name and resource type #1

kvanbrabant opened this issue May 11, 2022 · 2 comments

Comments

@kvanbrabant
Copy link

I am not able to use the jks-trust-store provider, version 0.2.1. Probably it's the confusion between the provider name and the resource type which is jks-trust-store for the provider (no underscore allowed) and jks_trust_store for the resource.
However, if I declare my resource as such:
resource "jks_trust_store" "cluster-truststore" {...}
I get an error saying: Could not retrieve the list of available versions for provider hashicorp/jks
The "jks" part is identified as provider name and by default looked up in the hashicorp namespace.
Please provide documentation on the use of this provider or rename the resource.

@kvanbrabant
Copy link
Author

I managed to fix the error by specifying a provider attribute.
resource "jks_trust_store" "cluster-truststore" {
provider = jks-trust-store
certificates = [...]
password = ...
}

@raffraffraff
Copy link

Thanks @kvanbrabant
I get the feeling that this project is dead. Pity, it's the only thing that generates jks in Terraform, and I don't like shelling out to keytool.

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

2 participants