From 11a3018559af60331fe8aed60a744efa08aea117 Mon Sep 17 00:00:00 2001 From: Michal Wieczorek Date: Fri, 21 Aug 2020 15:43:48 +0200 Subject: [PATCH] Switch to terraform-plugin-sdk v2 --- aws/resource_aws_route53_traffic_policy.go | 4 ++-- aws/resource_aws_route53_traffic_policy_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aws/resource_aws_route53_traffic_policy.go b/aws/resource_aws_route53_traffic_policy.go index 2d7d8cb5339..f2dd0110185 100644 --- a/aws/resource_aws_route53_traffic_policy.go +++ b/aws/resource_aws_route53_traffic_policy.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/hashicorp/terraform-plugin-sdk/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/helper/validation" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/route53" diff --git a/aws/resource_aws_route53_traffic_policy_test.go b/aws/resource_aws_route53_traffic_policy_test.go index 6b55e7d5e22..45ba8a32934 100644 --- a/aws/resource_aws_route53_traffic_policy_test.go +++ b/aws/resource_aws_route53_traffic_policy_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" - "github.com/hashicorp/terraform-plugin-sdk/helper/resource" - "github.com/hashicorp/terraform-plugin-sdk/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/terraform" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) func TestAccAWSRoute53TrafficPolicy_basic(t *testing.T) {