Skip to content

Commit

Permalink
Merge pull request #41744 from hashicorp/acctest-provider-TerraformVe…
Browse files Browse the repository at this point in the history
…rsion

Set Terraform version for `acctest Provider`
  • Loading branch information
ewbankkit authored Mar 10, 2025
2 parents 3b683d2 + 17cc7fc commit 8c3e25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/acctest/acctest.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ func PreCheck(ctx context.Context, t *testing.T) {
region := Region()
os.Setenv(envvar.DefaultRegion, region)

Provider.TerraformVersion = "1.0.0"
diags := Provider.Configure(ctx, terraformsdk.NewResourceConfigRaw(nil))
if err := sdkdiag.DiagnosticsError(diags); err != nil {
t.Fatalf("configuring provider: %s", err)
Expand Down

0 comments on commit 8c3e25a

Please sign in to comment.