Open anthonyralston opened 1 year ago
Thanks for the report. What are the input variables please? The API accepts tags with or without a leading 'v', but normalises to including the leading 'v', so I wonder if that might be causing the issue here.
Config looks like the below, so no leading v
.
config = {
tag = "8588d498fb0e241dccf92b59dc5732b116906de2"
sha256 = "f5801170e8a3575268e32bfdce9c7a1c323ffc610793da8ead14680fd0596e68"
version = "0.1.2"
}
If it is helpful, this happens when using v3.19.0
of the Vault Terraform provider.
@anthonyralston Hello! Can you confirm that the plugin failed to register? When I use the config you provided I am able to register the plugin successfully despite receiving the error from the provider. You can check with:
vault plugin list --detailed secret | grep "some-custom-plugin"
I think the error is occurring because the GET plugin endpoint requires the version if the plugin was registered with a version. In that case you may want to set disable_read and disable_delete in vault_generic_endpoint
disable_read = true
disable_delete = true
@anthonyralston Hello! Is there any recent update on this issue? Are you still experiencing this issue?
Terraform Version
v1.3.2
Affected Resource(s)
vault_generic_endpoint
to pathsys/plugins/catalog/secret/some-custom-plugin
Terraform Configuration Files
Expected Behavior
Apply is successful.
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply