Skip to content

Commit c6dff0c

Browse files
authored
Add resource identity tests for framework + state checks for SDKv2 (#328)
* initial test with basic identity data * update to use alpha * update SDKv2 test to use identity check * replace with whole check for identity * add v6 with todo to remove once next alpha is released * add update test * add version check to sdkv2 test * update TODOs from write-only work
1 parent 42b9c9c commit c6dff0c

30 files changed

+396
-157
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ require (
66
github.com/hashicorp/go-cty v1.5.0
77
github.com/hashicorp/go-memdb v1.3.5
88
github.com/hashicorp/go-version v1.7.0
9-
github.com/hashicorp/terraform-json v0.24.0
9+
github.com/hashicorp/terraform-json v0.24.1-0.20250314103308-f86d5e36f4ab
1010
github.com/hashicorp/terraform-plugin-framework v1.15.0-alpha.1
1111
github.com/hashicorp/terraform-plugin-framework-jsontypes v0.2.0
1212
github.com/hashicorp/terraform-plugin-framework-nettypes v0.2.0
1313
github.com/hashicorp/terraform-plugin-framework-timeouts v0.5.0
1414
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0
1515
github.com/hashicorp/terraform-plugin-framework-validators v0.17.0
16-
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1
16+
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1.0.20250325210248-fa8d1fe4306b
1717
github.com/hashicorp/terraform-plugin-mux v0.19.0-alpha.1
1818
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0-alpha.1.0.20250327143321-dee0dd622735
19-
github.com/hashicorp/terraform-plugin-testing v1.12.0
19+
github.com/hashicorp/terraform-plugin-testing v1.13.0-alpha.1
2020
github.com/zclconf/go-cty v1.16.2
2121
)
2222

@@ -67,5 +67,5 @@ require (
6767
google.golang.org/appengine v1.6.8 // indirect
6868
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
6969
google.golang.org/grpc v1.71.0 // indirect
70-
google.golang.org/protobuf v1.36.5 // indirect
70+
google.golang.org/protobuf v1.36.6 // indirect
7171
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI
8585
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
8686
github.com/hashicorp/terraform-exec v0.22.0 h1:G5+4Sz6jYZfRYUCg6eQgDsqTzkNXV+fP8l+uRmZHj64=
8787
github.com/hashicorp/terraform-exec v0.22.0/go.mod h1:bjVbsncaeh8jVdhttWYZuBGj21FcYw6Ia/XfHcNO7lQ=
88-
github.com/hashicorp/terraform-json v0.24.0 h1:rUiyF+x1kYawXeRth6fKFm/MdfBS6+lW4NbeATsYz8Q=
89-
github.com/hashicorp/terraform-json v0.24.0/go.mod h1:Nfj5ubo9xbu9uiAoZVBsNOjvNKB66Oyrvtit74kC7ow=
88+
github.com/hashicorp/terraform-json v0.24.1-0.20250314103308-f86d5e36f4ab h1:5Qpuprk76zkVEdTCtfoPjUc+1AeUxlgkF6sWTr7qLDs=
89+
github.com/hashicorp/terraform-json v0.24.1-0.20250314103308-f86d5e36f4ab/go.mod h1:sMKS8fiRDX4rVlR6EJUMudg1WcanxCMoWwTLkgZP/vc=
9090
github.com/hashicorp/terraform-plugin-framework v1.15.0-alpha.1 h1:OYub32eiH68AoDmN5d8E0BYQGuWTv8JAbsduWvFASu8=
9191
github.com/hashicorp/terraform-plugin-framework v1.15.0-alpha.1/go.mod h1:SNnBQzWTh3ydNHBJF8eLVHlm/2gu+RBG508LCfCSVwI=
9292
github.com/hashicorp/terraform-plugin-framework-jsontypes v0.2.0 h1:SJXL5FfJJm17554Kpt9jFXngdM6fXbnUnZ6iT2IeiYA=
@@ -99,16 +99,16 @@ github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0 h1:v3DapR8gsp3E
9999
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0/go.mod h1:c3PnGE9pHBDfdEVG9t1S1C9ia5LW+gkFR0CygXlM8ak=
100100
github.com/hashicorp/terraform-plugin-framework-validators v0.17.0 h1:0uYQcqqgW3BMyyve07WJgpKorXST3zkpzvrOnf3mpbg=
101101
github.com/hashicorp/terraform-plugin-framework-validators v0.17.0/go.mod h1:VwdfgE/5Zxm43flraNa0VjcvKQOGVrcO4X8peIri0T0=
102-
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1 h1:/IZFNUEafGnJGXRe2iNQQ+vtzEw/5qiD+gOxkFrNbi4=
103-
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1/go.mod h1:Tf2HngbyKvovAlGXgBOVGm3EDvbNaN/StUaTXwrej4o=
102+
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1.0.20250325210248-fa8d1fe4306b h1:JCAO+OdLztQ6F2bZ8lU93u986UVQl2Y/HNz18/jg3b0=
103+
github.com/hashicorp/terraform-plugin-go v0.27.0-alpha.1.0.20250325210248-fa8d1fe4306b/go.mod h1:HFPb73wivXPZy5wMuE7T3WqFbpIj6R6q1svKnZsnMZo=
104104
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
105105
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
106106
github.com/hashicorp/terraform-plugin-mux v0.19.0-alpha.1 h1:WCzSBsp719WKEV/+j+4/o742paM0twYm7B84y7x8pOM=
107107
github.com/hashicorp/terraform-plugin-mux v0.19.0-alpha.1/go.mod h1:iKph9LFBiD4a33AJLgqg7IKSVg2kdlYvx0IRd+ys3Ig=
108108
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0-alpha.1.0.20250327143321-dee0dd622735 h1:QxZAQUW2TWsmYUIx4nJDs74ixxER2teNIIrDvVOzvLY=
109109
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0-alpha.1.0.20250327143321-dee0dd622735/go.mod h1:+nyHvYq7kSpjTX7ayK0iLov9qyVC1SitewemvhAvSx4=
110-
github.com/hashicorp/terraform-plugin-testing v1.12.0 h1:tpIe+T5KBkA1EO6aT704SPLedHUo55RenguLHcaSBdI=
111-
github.com/hashicorp/terraform-plugin-testing v1.12.0/go.mod h1:jbDQUkT9XRjAh1Bvyufq+PEH1Xs4RqIdpOQumSgSXBM=
110+
github.com/hashicorp/terraform-plugin-testing v1.13.0-alpha.1 h1:QXUTAMLh6TTXfYkVaqAfQrW4aClkhrnab1r76qrOU7w=
111+
github.com/hashicorp/terraform-plugin-testing v1.13.0-alpha.1/go.mod h1:C2PHLMRqEkqF5g3d/WF47/5XMCbvIaUVKYT668D+jP4=
112112
github.com/hashicorp/terraform-registry-address v0.2.4 h1:JXu/zHB2Ymg/TGVCRu10XqNa4Sh2bWcqCNyKWjnCPJA=
113113
github.com/hashicorp/terraform-registry-address v0.2.4/go.mod h1:tUNYTVyCtU4OIGXXMDp7WNcJ+0W1B4nmstVDgHMjfAU=
114114
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
@@ -241,8 +241,8 @@ google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg=
241241
google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec=
242242
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
243243
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
244-
google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
245-
google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
244+
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
245+
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
246246
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
247247
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
248248
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
// Copyright (c) HashiCorp, Inc.
2+
// SPDX-License-Identifier: MPL-2.0
3+
4+
package framework
5+
6+
import (
7+
"context"
8+
"fmt"
9+
10+
"github.com/hashicorp/terraform-plugin-framework/resource"
11+
"github.com/hashicorp/terraform-plugin-framework/resource/identityschema"
12+
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
13+
"github.com/hashicorp/terraform-plugin-framework/types"
14+
)
15+
16+
var _ resource.Resource = IdentityResource{}
17+
var _ resource.ResourceWithIdentity = IdentityResource{}
18+
19+
func NewIdentityResource() resource.Resource {
20+
return &IdentityResource{}
21+
}
22+
23+
type IdentityResource struct{}
24+
25+
func (r IdentityResource) IdentitySchema(ctx context.Context, req resource.IdentitySchemaRequest, resp *resource.IdentitySchemaResponse) {
26+
resp.IdentitySchema = identityschema.Schema{
27+
Attributes: map[string]identityschema.Attribute{
28+
"id": identityschema.StringAttribute{
29+
RequiredForImport: true,
30+
},
31+
"name": identityschema.StringAttribute{
32+
OptionalForImport: true,
33+
},
34+
},
35+
}
36+
}
37+
38+
func (r IdentityResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) {
39+
resp.TypeName = req.ProviderTypeName + "_identity"
40+
}
41+
42+
func (r IdentityResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
43+
resp.Schema = schema.Schema{
44+
Attributes: map[string]schema.Attribute{
45+
"name": schema.StringAttribute{
46+
Required: true,
47+
},
48+
},
49+
}
50+
}
51+
52+
func (r IdentityResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) {
53+
var data IdentityResourceModel
54+
55+
resp.Diagnostics.Append(req.Plan.Get(ctx, &data)...)
56+
if resp.Diagnostics.HasError() {
57+
return
58+
}
59+
60+
resp.Diagnostics.Append(resp.Identity.Set(ctx, IdentityResourceIdentityModel{
61+
ID: types.StringValue("id-123"),
62+
Name: types.StringValue(fmt.Sprintf("my name is %s", data.Name.ValueString())),
63+
})...)
64+
resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
65+
}
66+
67+
func (r IdentityResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) {
68+
var data IdentityResourceModel
69+
70+
resp.Diagnostics.Append(req.State.Get(ctx, &data)...)
71+
72+
if resp.Diagnostics.HasError() {
73+
return
74+
}
75+
76+
resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
77+
}
78+
79+
func (r IdentityResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) {
80+
var data IdentityResourceModel
81+
82+
resp.Diagnostics.Append(req.Plan.Get(ctx, &data)...)
83+
84+
if resp.Diagnostics.HasError() {
85+
return
86+
}
87+
88+
resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
89+
}
90+
91+
func (r IdentityResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) {
92+
}
93+
94+
type IdentityResourceModel struct {
95+
Name types.String `tfsdk:"name"`
96+
}
97+
98+
type IdentityResourceIdentityModel struct {
99+
ID types.String `tfsdk:"id"`
100+
Name types.String `tfsdk:"name"`
101+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// Copyright (c) HashiCorp, Inc.
2+
// SPDX-License-Identifier: MPL-2.0
3+
4+
package framework
5+
6+
import (
7+
"testing"
8+
9+
"github.com/hashicorp/go-version"
10+
"github.com/hashicorp/terraform-plugin-framework/providerserver"
11+
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
12+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
13+
"github.com/hashicorp/terraform-plugin-testing/knownvalue"
14+
"github.com/hashicorp/terraform-plugin-testing/plancheck"
15+
"github.com/hashicorp/terraform-plugin-testing/statecheck"
16+
"github.com/hashicorp/terraform-plugin-testing/tfversion"
17+
)
18+
19+
func TestIdentityResource(t *testing.T) {
20+
resource.UnitTest(t, resource.TestCase{
21+
// Latest alpha version that this JSON data is available in
22+
// https://github.com/hashicorp/terraform/releases/tag/v1.12.0-alpha20250319
23+
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
24+
tfversion.SkipBelow(version.Must(version.NewVersion("1.12.0-alpha20250319"))),
25+
},
26+
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
27+
"framework": providerserver.NewProtocol5WithError(New()),
28+
},
29+
Steps: []resource.TestStep{
30+
{
31+
Config: `resource "framework_identity" "test" {
32+
name = "john"
33+
}`,
34+
ConfigStateChecks: []statecheck.StateCheck{
35+
statecheck.ExpectIdentity("framework_identity.test", map[string]knownvalue.Check{
36+
"id": knownvalue.StringExact("id-123"),
37+
"name": knownvalue.StringExact("my name is john"),
38+
}),
39+
},
40+
},
41+
{
42+
Config: `resource "framework_identity" "test" {
43+
name = "jerry"
44+
}`,
45+
ConfigPlanChecks: resource.ConfigPlanChecks{
46+
PreApply: []plancheck.PlanCheck{
47+
plancheck.ExpectResourceAction("framework_identity.test", plancheck.ResourceActionUpdate),
48+
},
49+
},
50+
ConfigStateChecks: []statecheck.StateCheck{
51+
statecheck.ExpectIdentity("framework_identity.test", map[string]knownvalue.Check{
52+
"id": knownvalue.StringExact("id-123"),
53+
"name": knownvalue.StringExact("my name is john"), // doesn't get updated, since identity should not change.
54+
}),
55+
},
56+
},
57+
},
58+
})
59+
}

internal/framework5provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (p *testProvider) Resources(_ context.Context) []func() resource.Resource {
109109
func() resource.Resource {
110110
return NewWriteOnlyUpgradeResource(p.upgradeVersion)
111111
},
112+
NewIdentityResource,
112113
}
113114
}
114115

internal/framework5provider/writeonce_resource_test.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"regexp"
88
"testing"
99

10-
"github.com/hashicorp/go-version"
1110
"github.com/hashicorp/terraform-plugin-framework/providerserver"
1211
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
1312
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -24,9 +23,7 @@ func TestWriteOnceResource(t *testing.T) {
2423
resource.UnitTest(t, resource.TestCase{
2524
// Write-only attributes are only available in 1.11.0+
2625
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
27-
// TODO: Swap version check with below line once [email protected] is released
28-
// tfversion.SkipBelow(tfversion.Version1_11_0),
29-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
26+
tfversion.SkipBelow(tfversion.Version1_11_0),
3027
},
3128
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
3229
"framework": providerserver.NewProtocol5WithError(New()),
@@ -122,9 +119,7 @@ func TestWriteOnceResource_error_on_replace(t *testing.T) {
122119
resource.UnitTest(t, resource.TestCase{
123120
// Write-only attributes are only available in 1.11.0+
124121
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
125-
// TODO: Swap version check with below line once [email protected] is released
126-
// tfversion.SkipBelow(tfversion.Version1_11_0),
127-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
122+
tfversion.SkipBelow(tfversion.Version1_11_0),
128123
},
129124
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
130125
"framework": providerserver.NewProtocol5WithError(New()),

internal/framework5provider/writeonly_import_resource_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package framework
66
import (
77
"testing"
88

9-
"github.com/hashicorp/go-version"
109
"github.com/hashicorp/terraform-plugin-framework/providerserver"
1110
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
1211
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -17,9 +16,7 @@ func TestWriteOnlyImportResource(t *testing.T) {
1716
resource.UnitTest(t, resource.TestCase{
1817
// Write-only attributes are only available in 1.11.0+
1918
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
20-
// TODO: Swap version check with below line once [email protected] is released
21-
// tfversion.SkipBelow(tfversion.Version1_11_0),
22-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
19+
tfversion.SkipBelow(tfversion.Version1_11_0),
2320
},
2421
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
2522
"framework": providerserver.NewProtocol5WithError(New()),

internal/framework5provider/writeonly_move_resource_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package framework
66
import (
77
"testing"
88

9-
"github.com/hashicorp/go-version"
109
"github.com/hashicorp/terraform-plugin-framework/providerserver"
1110
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
1211
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -17,9 +16,7 @@ func TestWriteOnlyMoveResource(t *testing.T) {
1716
resource.UnitTest(t, resource.TestCase{
1817
// Write-only attributes are only available in 1.11.0+
1918
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
20-
// TODO: Swap version check with below line once [email protected] is released
21-
// tfversion.SkipBelow(tfversion.Version1_11_0),
22-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
19+
tfversion.SkipBelow(tfversion.Version1_11_0),
2320
},
2421
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
2522
"framework": providerserver.NewProtocol5WithError(New()),

internal/framework5provider/writeonly_resource_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"regexp"
88
"testing"
99

10-
"github.com/hashicorp/go-version"
1110
"github.com/hashicorp/terraform-plugin-framework/providerserver"
1211
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
1312
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -24,9 +23,7 @@ func TestWriteOnlyResource(t *testing.T) {
2423
resource.UnitTest(t, resource.TestCase{
2524
// Write-only attributes are only available in 1.11.0+
2625
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
27-
// TODO: Swap version check with below line once [email protected] is released
28-
// tfversion.SkipBelow(tfversion.Version1_11_0),
29-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
26+
tfversion.SkipBelow(tfversion.Version1_11_0),
3027
},
3128
ProtoV5ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error){
3229
"framework": providerserver.NewProtocol5WithError(New()),

internal/framework5provider/writeonly_upgrade_resource_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package framework
66
import (
77
"testing"
88

9-
"github.com/hashicorp/go-version"
109
"github.com/hashicorp/terraform-plugin-framework/providerserver"
1110
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
1211
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -17,9 +16,7 @@ func TestWriteOnlyUpgradeResource(t *testing.T) {
1716
resource.UnitTest(t, resource.TestCase{
1817
// Write-only attributes are only available in 1.11.0+
1918
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
20-
// TODO: Swap version check with below line once [email protected] is released
21-
// tfversion.SkipBelow(tfversion.Version1_11_0),
22-
tfversion.SkipBelow(version.Must(version.NewVersion("1.11.0"))),
19+
tfversion.SkipBelow(tfversion.Version1_11_0),
2320
},
2421
Steps: []resource.TestStep{
2522
{

0 commit comments

Comments
 (0)