You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should be visible in the debug output if it is on.
Actual Behavior
| Error: no secret found at "secret/data/my/secret?version=8"
|
| on test.tf line 1, in data "vault_kv_secret_v2" "secret_data":
| 1: data "vault_kv_secret_v2" "secret_data" {
|
Important Factoids
When passed a version argument, it looks like data.vault_kv_secret_v2 erroneously encodes the ? in the generated request URI, which means the request fails.
The gist output can be verified by emulating the bug with curl:
Terraform Version
v1.3.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/snatella/69bc930ba11d1b44e2a56a0ab7502ffa
Apologies this has been cut down, but there was lots of sensitive details in the original, this should fully illustrate the issue however.
Expected Behavior
Plan success, and a data structure like
should be visible in the debug output if it is on.
Actual Behavior
Important Factoids
When passed a
version
argument, it looks likedata.vault_kv_secret_v2
erroneously encodes the?
in the generated request URI, which means the request fails.The gist output can be verified by emulating the bug with curl:
The text was updated successfully, but these errors were encountered: