-
Notifications
You must be signed in to change notification settings - Fork 17
Description
terraform-plugin-testing version
github.com/hashicorp/terraform-plugin-testing v1.11.0
Terraform Configuration Files
provider "linode" {
obj_use_temp_keys = true
}
resource "linode_object_storage_object" "temp_keys" {
bucket = "mybucket"
region = "us-mia"
key = "test_temp_keys"
content = "foobar"
}
Expected Behavior
We expected to receive value of obj_use_temp_keys in the provider code
Actual Behavior
The boolean value hardly ever reach the provider code, during testing. Normal TF operations like terraform apply are fine.
I am not sure about whether it's our provider's issue or Terraform's or the plugin testing package's.
Here is one of the testing logs (testing the FW migration PR):
https://github.com/linode/terraform-provider-linode/actions/runs/12048502955/job/33593261152
And test case: https://github.com/linode/terraform-provider-linode/blob/dev/linode/obj/resource_test.go#L173
We had to put multiple retries there to make the tests passed, but after migrating to the framework, failing rate is 100% and multiple retries couldn't work around it.
linode/terraform-provider-linode#1678
Is there any further debug suggestion?
Note that both fw and sdkv2 providers were working with the muxing server.