diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index db08def6..bf319155 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -373,7 +373,7 @@ TF_ACC=1 go test ./zpa -v -run=TestAccResourceAppConnectorGroupBasic -timeout 12 === RUN TestAccResourceAppConnectorGroupBasic --- PASS: TestAccResourceAppConnectorGroupBasic (26.56s) PASS -ok github.com/zscaler/terraform-provider-zpa/zpa 26.607s +ok github.com/zscaler/terraform-provider-zpa/v2/zpa 26.607s ``` #### Writing an Acceptance Test diff --git a/go.mod b/go.mod index 691c1ffa..71891be9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/zscaler/terraform-provider-zpa +module github.com/zscaler/terraform-provider-zpa/v2 go 1.19 diff --git a/main.go b/main.go index 11deb880..2fe4937d 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "log" "github.com/hashicorp/terraform-plugin-sdk/v2/plugin" - "github.com/zscaler/terraform-provider-zpa/zpa" + "github.com/zscaler/terraform-provider-zpa/v2/zpa" ) func main() { diff --git a/zpa/data_source_zpa_app_connector_group_test.go b/zpa/data_source_zpa_app_connector_group_test.go index c821ded8..232b9ee2 100644 --- a/zpa/data_source_zpa_app_connector_group_test.go +++ b/zpa/data_source_zpa_app_connector_group_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceAppConnectorGroup_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_app_server_controller_test.go b/zpa/data_source_zpa_app_server_controller_test.go index a20f6fb4..4115c314 100644 --- a/zpa/data_source_zpa_app_server_controller_test.go +++ b/zpa/data_source_zpa_app_server_controller_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceApplicationServer_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_application_segment_browser_access_test.go b/zpa/data_source_zpa_application_segment_browser_access_test.go index b3353287..6bcbc116 100644 --- a/zpa/data_source_zpa_application_segment_browser_access_test.go +++ b/zpa/data_source_zpa_application_segment_browser_access_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceApplicationSegmentBrowserAccess_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_application_segment_inspection_test.go b/zpa/data_source_zpa_application_segment_inspection_test.go index a222f771..faf7b994 100644 --- a/zpa/data_source_zpa_application_segment_inspection_test.go +++ b/zpa/data_source_zpa_application_segment_inspection_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceApplicationSegmentInspection_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_application_segment_pra_test.go b/zpa/data_source_zpa_application_segment_pra_test.go index 904c2bf1..9c6ec867 100644 --- a/zpa/data_source_zpa_application_segment_pra_test.go +++ b/zpa/data_source_zpa_application_segment_pra_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceApplicationSegmentPRA_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_application_segment_test.go b/zpa/data_source_zpa_application_segment_test.go index 1ba1e331..4afd267f 100644 --- a/zpa/data_source_zpa_application_segment_test.go +++ b/zpa/data_source_zpa_application_segment_test.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceApplicationSegment_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_inspection_custom_controls_test.go b/zpa/data_source_zpa_inspection_custom_controls_test.go index fb3e214d..d6b2a808 100644 --- a/zpa/data_source_zpa_inspection_custom_controls_test.go +++ b/zpa/data_source_zpa_inspection_custom_controls_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" ) func TestAccDataSourceInspectionCustomControls_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_inspection_profile_test.go b/zpa/data_source_zpa_inspection_profile_test.go index d13a95d4..5288862e 100644 --- a/zpa/data_source_zpa_inspection_profile_test.go +++ b/zpa/data_source_zpa_inspection_profile_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceInspectionProfile_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_lss_config_controller_test.go b/zpa/data_source_zpa_lss_config_controller_test.go index ce05a37c..18ad3a4f 100644 --- a/zpa/data_source_zpa_lss_config_controller_test.go +++ b/zpa/data_source_zpa_lss_config_controller_test.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceLSSConfigController_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_provisioning_key_test.go b/zpa/data_source_zpa_provisioning_key_test.go index 0584bb54..02ec59df 100644 --- a/zpa/data_source_zpa_provisioning_key_test.go +++ b/zpa/data_source_zpa_provisioning_key_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceProvisioningKey_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_segment_group_test.go b/zpa/data_source_zpa_segment_group_test.go index 92bb8f25..b8860f32 100644 --- a/zpa/data_source_zpa_segment_group_test.go +++ b/zpa/data_source_zpa_segment_group_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceSegmentGroup_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_server_group_test.go b/zpa/data_source_zpa_server_group_test.go index ab2a0f1e..017c6d4b 100644 --- a/zpa/data_source_zpa_server_group_test.go +++ b/zpa/data_source_zpa_server_group_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceServerGroup_Basic(t *testing.T) { diff --git a/zpa/data_source_zpa_service_edge_group_test.go b/zpa/data_source_zpa_service_edge_group_test.go index 0d835649..2cbb1eda 100644 --- a/zpa/data_source_zpa_service_edge_group_test.go +++ b/zpa/data_source_zpa_service_edge_group_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccDataSourceServiceEdgeGroup_Basic(t *testing.T) { diff --git a/zpa/resource_zpa_app_connector_group_test.go b/zpa/resource_zpa_app_connector_group_test.go index 9d111608..cd8cf60e 100644 --- a/zpa/resource_zpa_app_connector_group_test.go +++ b/zpa/resource_zpa_app_connector_group_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/appconnectorgroup" ) diff --git a/zpa/resource_zpa_app_server_controller_test.go b/zpa/resource_zpa_app_server_controller_test.go index 8af0c0a4..10588e36 100644 --- a/zpa/resource_zpa_app_server_controller_test.go +++ b/zpa/resource_zpa_app_server_controller_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/appservercontroller" ) diff --git a/zpa/resource_zpa_application_segment_browser_access_test.go b/zpa/resource_zpa_application_segment_browser_access_test.go index 79cfa565..95bf5c91 100644 --- a/zpa/resource_zpa_application_segment_browser_access_test.go +++ b/zpa/resource_zpa_application_segment_browser_access_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/browseraccess" ) diff --git a/zpa/resource_zpa_application_segment_inspection_test.go b/zpa/resource_zpa_application_segment_inspection_test.go index c6ecfcfa..1d0e8d92 100644 --- a/zpa/resource_zpa_application_segment_inspection_test.go +++ b/zpa/resource_zpa_application_segment_inspection_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/applicationsegmentinspection" ) diff --git a/zpa/resource_zpa_application_segment_pra_test.go b/zpa/resource_zpa_application_segment_pra_test.go index f00201d7..fca810b6 100644 --- a/zpa/resource_zpa_application_segment_pra_test.go +++ b/zpa/resource_zpa_application_segment_pra_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/applicationsegmentpra" ) diff --git a/zpa/resource_zpa_application_segment_test.go b/zpa/resource_zpa_application_segment_test.go index 4041d9c7..f2aab8d9 100644 --- a/zpa/resource_zpa_application_segment_test.go +++ b/zpa/resource_zpa_application_segment_test.go @@ -8,9 +8,9 @@ import ( "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/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/applicationsegment" ) diff --git a/zpa/resource_zpa_inspection_custom_controls_test.go b/zpa/resource_zpa_inspection_custom_controls_test.go index ef5a5fbc..819e245e 100644 --- a/zpa/resource_zpa_inspection_custom_controls_test.go +++ b/zpa/resource_zpa_inspection_custom_controls_test.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/inspectioncontrol/inspection_custom_controls" ) diff --git a/zpa/resource_zpa_inspection_profile_test.go b/zpa/resource_zpa_inspection_profile_test.go index 667fe749..0c244a46 100644 --- a/zpa/resource_zpa_inspection_profile_test.go +++ b/zpa/resource_zpa_inspection_profile_test.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/inspectioncontrol/inspection_profile" ) diff --git a/zpa/resource_zpa_lss_config_controller_test.go b/zpa/resource_zpa_lss_config_controller_test.go index f3e36510..9fa2c20e 100644 --- a/zpa/resource_zpa_lss_config_controller_test.go +++ b/zpa/resource_zpa_lss_config_controller_test.go @@ -8,9 +8,9 @@ import ( "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/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/lssconfigcontroller" ) diff --git a/zpa/resource_zpa_policy_access_forwarding_rule_test.go b/zpa/resource_zpa_policy_access_forwarding_rule_test.go index 631b424a..f9e1f732 100644 --- a/zpa/resource_zpa_policy_access_forwarding_rule_test.go +++ b/zpa/resource_zpa_policy_access_forwarding_rule_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" ) func TestAccPolicyForwardingRuleBasic(t *testing.T) { diff --git a/zpa/resource_zpa_policy_access_inspection_rule_test.go b/zpa/resource_zpa_policy_access_inspection_rule_test.go index 26ba0d2b..49254f7c 100644 --- a/zpa/resource_zpa_policy_access_inspection_rule_test.go +++ b/zpa/resource_zpa_policy_access_inspection_rule_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" ) func TestAccPolicyInspectionRuleBasic(t *testing.T) { diff --git a/zpa/resource_zpa_policy_access_rule_test.go b/zpa/resource_zpa_policy_access_rule_test.go index e45f0335..c718def1 100644 --- a/zpa/resource_zpa_policy_access_rule_test.go +++ b/zpa/resource_zpa_policy_access_rule_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" ) func TestAccPolicyAccessRuleBasic(t *testing.T) { diff --git a/zpa/resource_zpa_policy_access_timeout_rule_test.go b/zpa/resource_zpa_policy_access_timeout_rule_test.go index 251b289e..8ded6073 100644 --- a/zpa/resource_zpa_policy_access_timeout_rule_test.go +++ b/zpa/resource_zpa_policy_access_timeout_rule_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" ) func TestAccPolicyTimeoutRuleBasic(t *testing.T) { diff --git a/zpa/resource_zpa_provisioning_key_test.go b/zpa/resource_zpa_provisioning_key_test.go index 1dd5c46c..c1a9a8af 100644 --- a/zpa/resource_zpa_provisioning_key_test.go +++ b/zpa/resource_zpa_provisioning_key_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/provisioningkey" ) diff --git a/zpa/resource_zpa_segment_group_test.go b/zpa/resource_zpa_segment_group_test.go index fc77bddb..d42f8b4b 100644 --- a/zpa/resource_zpa_segment_group_test.go +++ b/zpa/resource_zpa_segment_group_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/segmentgroup" ) diff --git a/zpa/resource_zpa_server_group_test.go b/zpa/resource_zpa_server_group_test.go index a705952b..f5d185ef 100644 --- a/zpa/resource_zpa_server_group_test.go +++ b/zpa/resource_zpa_server_group_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/servergroup" ) diff --git a/zpa/resource_zpa_service_edge_group_test.go b/zpa/resource_zpa_service_edge_group_test.go index b9a5df8e..9c83e3e1 100644 --- a/zpa/resource_zpa_service_edge_group_test.go +++ b/zpa/resource_zpa_service_edge_group_test.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zscaler/terraform-provider-zpa/zpa/common/resourcetype" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/method" - "github.com/zscaler/terraform-provider-zpa/zpa/common/testing/variable" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/resourcetype" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/method" + "github.com/zscaler/terraform-provider-zpa/v2/zpa/common/testing/variable" "github.com/zscaler/zscaler-sdk-go/zpa/services/serviceedgegroup" )