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
$ terraform init
$ terraform apply
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
+ create
Terraform will perform the following actions:
# demo-file_file.my_file will be created
+ resource "demo-file_file""my_file" {
+ id = "Should/Be%Encoded"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
demo-file_file.my_file: Creating...
╷
│ Error: failure to invoke API
│
│ with epilot-file_file.my_file,
│ on resource.tf line 1, in resource "demo-file_file""my_file":
│ 1: resource "demo-file_file""my_file" {
│
│ error creating request: parse "http://localhost:8080/files/Should/Be%Encoded": invalid URL escape "%En"
The text was updated successfully, but these errors were encountered:
If we remove the % sign the request goes through, but echoing the request made by terraform we can confirm that path parameters are in fact not encoded:
Minimal reproduction
The text was updated successfully, but these errors were encountered: