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
Hi there @weilueluo ,
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):
- There have been no breaking changes when switching to this new testing module
- The new testing module does not treat
TF_ACC_TERRAFORM_VERSION
differently - There is a new documentation section dedicated to the
terraform-plugin-testing
Go module that may help answer any questions you have: Plugin Development - Acceptance Testing | Terraform | HashiCorp Developer
1 Like