@@ -13,6 +13,7 @@ import (
13
13
"github.com/hashicorp/terraform-plugin-go/tftypes"
14
14
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
15
15
"github.com/hashicorp/terraform-plugin-testing/terraform"
16
+ "github.com/hashicorp/terraform-plugin-testing/tfversion"
16
17
"github.com/hashicorp/terraform-provider-aws/internal/acctest"
17
18
"github.com/hashicorp/terraform-provider-aws/internal/conns"
18
19
tfec2 "github.com/hashicorp/terraform-provider-aws/internal/service/ec2"
@@ -32,6 +33,9 @@ func TestAccEC2StopInstanceAction_basic(t *testing.T) {
32
33
},
33
34
ErrorCheck : acctest .ErrorCheck (t , names .EC2ServiceID ),
34
35
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
36
+ TerraformVersionChecks : []tfversion.TerraformVersionCheck {
37
+ tfversion .SkipBelow (tfversion .Version1_14_0 ),
38
+ },
35
39
Steps : []resource.TestStep {
36
40
{
37
41
Config : testAccStopInstanceActionConfig_force (rName ),
@@ -72,6 +76,9 @@ func TestAccEC2StopInstanceAction_trigger(t *testing.T) {
72
76
},
73
77
ErrorCheck : acctest .ErrorCheck (t , names .EC2ServiceID ),
74
78
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
79
+ TerraformVersionChecks : []tfversion.TerraformVersionCheck {
80
+ tfversion .SkipBelow (tfversion .Version1_14_0 ),
81
+ },
75
82
Steps : []resource.TestStep {
76
83
{
77
84
Config : testAccStopInstanceActionConfig_trigger (rName ),
0 commit comments