Closed acidprime closed 1 year ago
@rickardgranberg see this comment https://github.com/hashicorp/vault/issues/17764#issuecomment-1298979763
Okay so it sounds like its related to this code
Thanks for troubleshooting and reporting this issue @acidprime I will have a new version out in a few hours
This PR was included in the latest release of vault https://github.com/hashicorp/vault/pull/16379
I belive it breaks this module as you are passing both params to the init every time.
I think the grey area here is you likely are passing them as 0 but (also see this test https://github.com/hashicorp/vault/blob/0d6a42c79ef765e919db486c1cb78e527b47e010/http/sys_init_test.go#L133-L150)
You can't have the params themselves in the request
Errors I'm seeing
for code
It errors on the params being in the request even though the are not included in the HCL
This is happening I believe because you use Get which makes an empty value be
0
for int