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
Versions 1.7.0 and later of the Terraform plugin SDK allow providers to opt in to a new driver for the acceptance tests, which runs tests using the terraform binary instead of a vendored copy of Terraform Core, while remaining as backwards-compatible as possible.
This test driver fixes a number of existing issues with the legacy test driver.
This feature is released as an opt-in preview in version 1 of the SDK, and will be mandatory from version 2. We do not plan to change the API, and encourage providers to enable the binary test driver now. This can be done by adding a small TestMain block to the provider test as described in hashicorp/terraform-plugin-sdk#262:
No other changes are needed in most cases to for the new driver to be enabled during local acceptance test runs, and the SDK team is ready to assist with the one-time changes needed to TeamCity build configurations.
The text was updated successfully, but these errors were encountered:
Requires #1001
Fixes hashicorp/terraform-plugin-sdk#153, hashicorp/terraform-plugin-sdk#118, hashicorp/terraform-plugin-sdk#114
Versions 1.7.0 and later of the Terraform plugin SDK allow providers to opt in to a new driver for the acceptance tests, which runs tests using the
terraform
binary instead of a vendored copy of Terraform Core, while remaining as backwards-compatible as possible.This test driver fixes a number of existing issues with the legacy test driver.
For more information, please see hashicorp/terraform-plugin-sdk#262, and for an example provider migration please see hashicorp/terraform-provider-random#99.
This feature is released as an opt-in preview in version 1 of the SDK, and will be mandatory from version 2. We do not plan to change the API, and encourage providers to enable the binary test driver now. This can be done by adding a small
TestMain
block to the provider test as described in hashicorp/terraform-plugin-sdk#262:No other changes are needed in most cases to for the new driver to be enabled during local acceptance test runs, and the SDK team is ready to assist with the one-time changes needed to TeamCity build configurations.
The text was updated successfully, but these errors were encountered: