diff --git a/pkg/iac/terraform/state/testdata/acc/multiple_states/route53/terraform.tf b/pkg/iac/terraform/state/testdata/acc/multiple_states/route53/terraform.tf index 238a1825..0ca81ddd 100644 --- a/pkg/iac/terraform/state/testdata/acc/multiple_states/route53/terraform.tf +++ b/pkg/iac/terraform/state/testdata/acc/multiple_states/route53/terraform.tf @@ -5,7 +5,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } diff --git a/pkg/iac/terraform/state/testdata/acc/multiple_states/s3/terraform.tf b/pkg/iac/terraform/state/testdata/acc/multiple_states/s3/terraform.tf index 82507ef2..32404138 100644 --- a/pkg/iac/terraform/state/testdata/acc/multiple_states/s3/terraform.tf +++ b/pkg/iac/terraform/state/testdata/acc/multiple_states/s3/terraform.tf @@ -5,7 +5,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } diff --git a/pkg/iac/terraform/state/testdata/acc/multiple_states_local/route53/terraform.tf b/pkg/iac/terraform/state/testdata/acc/multiple_states_local/route53/terraform.tf index 02b10338..93f09d5c 100644 --- a/pkg/iac/terraform/state/testdata/acc/multiple_states_local/route53/terraform.tf +++ b/pkg/iac/terraform/state/testdata/acc/multiple_states_local/route53/terraform.tf @@ -5,7 +5,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } diff --git a/pkg/iac/terraform/state/testdata/acc/multiple_states_local/s3/terraform.tf b/pkg/iac/terraform/state/testdata/acc/multiple_states_local/s3/terraform.tf index 79e4e4bb..626fd5d9 100644 --- a/pkg/iac/terraform/state/testdata/acc/multiple_states_local/s3/terraform.tf +++ b/pkg/iac/terraform/state/testdata/acc/multiple_states_local/s3/terraform.tf @@ -5,7 +5,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } diff --git a/pkg/resource/aws/aws_eip_association_test.go b/pkg/resource/aws/aws_eip_association_test.go index f317eb4e..a0b76e27 100644 --- a/pkg/resource/aws/aws_eip_association_test.go +++ b/pkg/resource/aws/aws_eip_association_test.go @@ -11,7 +11,7 @@ func TestAcc_Aws_EipAssociation(t *testing.T) { acceptance.Run(t, acceptance.AccTestCase{ TerraformVersion: "0.14.9", Paths: []string{"./testdata/acc/aws_eip_association"}, - Args: []string{"scan", "--filter", "Type=='aws_eip' || Type=='aws_eip_association'"}, + Args: []string{"scan", "--filter", "Type=='aws_eip' || Type=='aws_eip_association'", "--tf-provider-version", "3.44.0"}, Checks: []acceptance.AccCheck{ { Env: map[string]string{ diff --git a/pkg/resource/aws/aws_eip_test.go b/pkg/resource/aws/aws_eip_test.go index e962cc9a..e96f514b 100644 --- a/pkg/resource/aws/aws_eip_test.go +++ b/pkg/resource/aws/aws_eip_test.go @@ -11,7 +11,7 @@ func TestAcc_Aws_Eip(t *testing.T) { acceptance.Run(t, acceptance.AccTestCase{ TerraformVersion: "0.14.9", Paths: []string{"./testdata/acc/aws_eip"}, - Args: []string{"scan", "--filter", "Type=='aws_eip' || Type=='aws_eip_association'"}, + Args: []string{"scan", "--filter", "Type=='aws_eip' || Type=='aws_eip_association'", "--tf-provider-version", "3.44.0"}, Checks: []acceptance.AccCheck{ { Env: map[string]string{ diff --git a/pkg/resource/aws/aws_iam_role_test.go b/pkg/resource/aws/aws_iam_role_test.go index 583c007d..79538c79 100644 --- a/pkg/resource/aws/aws_iam_role_test.go +++ b/pkg/resource/aws/aws_iam_role_test.go @@ -11,7 +11,7 @@ func TestAcc_Aws_IamRole(t *testing.T) { acceptance.Run(t, acceptance.AccTestCase{ TerraformVersion: "0.14.9", Paths: []string{"./testdata/acc/aws_iam_role"}, - Args: []string{"scan", "--filter", "Type=='aws_iam_role'"}, + Args: []string{"scan", "--filter", "Type=='aws_iam_role'", "--tf-provider-version", "3.45.0"}, Checks: []acceptance.AccCheck{ { Env: map[string]string{ diff --git a/pkg/resource/aws/aws_route_test.go b/pkg/resource/aws/aws_route_test.go index c977df49..327ebe46 100644 --- a/pkg/resource/aws/aws_route_test.go +++ b/pkg/resource/aws/aws_route_test.go @@ -11,7 +11,7 @@ func TestAcc_AwsRoute(t *testing.T) { acceptance.Run(t, acceptance.AccTestCase{ TerraformVersion: "0.14.9", Paths: []string{"./testdata/acc/aws_route"}, - Args: []string{"scan", "--filter", "Type=='aws_route'"}, + Args: []string{"scan", "--filter", "Type=='aws_route'", "--tf-provider-version", "3.44.0"}, Checks: []acceptance.AccCheck{ { Env: map[string]string{ diff --git a/pkg/resource/aws/testdata/acc/aws_eip/terraform.tf b/pkg/resource/aws/testdata/acc/aws_eip/terraform.tf index dac8dda4..b83c72dd 100644 --- a/pkg/resource/aws/testdata/acc/aws_eip/terraform.tf +++ b/pkg/resource/aws/testdata/acc/aws_eip/terraform.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.44.0" + version = "3.44.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_eip_association/mainf.tf b/pkg/resource/aws/testdata/acc/aws_eip_association/mainf.tf index f0be5728..ddb98c65 100644 --- a/pkg/resource/aws/testdata/acc/aws_eip_association/mainf.tf +++ b/pkg/resource/aws/testdata/acc/aws_eip_association/mainf.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.44.0" + version = "3.44.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_iam_access_key/terraform.tf b/pkg/resource/aws/testdata/acc/aws_iam_access_key/terraform.tf index caa761e8..ab592084 100644 --- a/pkg/resource/aws/testdata/acc/aws_iam_access_key/terraform.tf +++ b/pkg/resource/aws/testdata/acc/aws_iam_access_key/terraform.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_iam_policy_attachment/providers.tf b/pkg/resource/aws/testdata/acc/aws_iam_policy_attachment/providers.tf index b3f4019c..623eb641 100644 --- a/pkg/resource/aws/testdata/acc/aws_iam_policy_attachment/providers.tf +++ b/pkg/resource/aws/testdata/acc/aws_iam_policy_attachment/providers.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_instance/providers.tf b/pkg/resource/aws/testdata/acc/aws_instance/providers.tf index b3f4019c..623eb641 100644 --- a/pkg/resource/aws/testdata/acc/aws_instance/providers.tf +++ b/pkg/resource/aws/testdata/acc/aws_instance/providers.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_route53_record/providers.tf b/pkg/resource/aws/testdata/acc/aws_route53_record/providers.tf index b3f4019c..623eb641 100644 --- a/pkg/resource/aws/testdata/acc/aws_route53_record/providers.tf +++ b/pkg/resource/aws/testdata/acc/aws_route53_record/providers.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_route53_record_with_alias/providers.tf b/pkg/resource/aws/testdata/acc/aws_route53_record_with_alias/providers.tf index b3f4019c..623eb641 100644 --- a/pkg/resource/aws/testdata/acc/aws_route53_record_with_alias/providers.tf +++ b/pkg/resource/aws/testdata/acc/aws_route53_record_with_alias/providers.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } } diff --git a/pkg/resource/aws/testdata/acc/aws_s3_bucket/providers.tf b/pkg/resource/aws/testdata/acc/aws_s3_bucket/providers.tf index 33bd0987..a736282b 100644 --- a/pkg/resource/aws/testdata/acc/aws_s3_bucket/providers.tf +++ b/pkg/resource/aws/testdata/acc/aws_s3_bucket/providers.tf @@ -4,7 +4,7 @@ provider "aws" { terraform { required_providers { aws = { - version = "~> 3.19.0" + version = "3.19.0" } } }