Does setting the `TF_ACC_TERRAFORM_VERSION` works in new framework?

Hi poeple. Does it download the use the set version for testing? How check which terraform is current used for testing? Thanks for any help in advance :slight_smile:

Hi there @weilueluo :wave: ,

To answer the title of the post, yes, there haven’t been any changes to the TF_ACC_TERRAFORM_VERSION environment variable or how it operates in relation to using Plugin Framework vs. SDKv2.

If you’re referring to the new Go module terraform-plugin-testing, which previously was the Go module terraform-plugin-sdk/v2/helper/resource (as well as some other helper/* modules):

1 Like

Thank you @austin.valle ! Exactly what I needed.

1 Like