-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
had some conflicts so had to do it manually fixes #490
- Loading branch information
1 parent
f6d6330
commit 9ef2d59
Showing
40 changed files
with
984 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: guineveresaenger <[email protected]> | ||
Date: Fri, 22 Mar 2024 10:23:37 -0700 | ||
Subject: [PATCH 2/2] versioned util package for more resources | ||
Subject: [PATCH] versioned util package for more resources | ||
|
||
|
||
diff --git a/pagerduty/resource_pagerduty_schedule.go b/pagerduty/resource_pagerduty_schedule.go | ||
|
@@ -18,7 +18,7 @@ index 11a75167..e3dedc0d 100644 | |
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" | ||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" | ||
diff --git a/pagerduty/resource_pagerduty_service.go b/pagerduty/resource_pagerduty_service.go | ||
index 41b51a07..f89dd98f 100644 | ||
index 17224545..608eee66 100644 | ||
--- a/pagerduty/resource_pagerduty_service.go | ||
+++ b/pagerduty/resource_pagerduty_service.go | ||
@@ -8,7 +8,7 @@ import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Venelin <[email protected]> | ||
Date: Fri, 10 May 2024 18:16:24 +0100 | ||
Subject: [PATCH] more replaces | ||
|
||
|
||
diff --git a/pagerdutyplugin/data_source_pagerduty_extension_schema.go b/pagerdutyplugin/data_source_pagerduty_extension_schema.go | ||
index 3f0db919..b5be392e 100644 | ||
--- a/pagerdutyplugin/data_source_pagerduty_extension_schema.go | ||
+++ b/pagerdutyplugin/data_source_pagerduty_extension_schema.go | ||
@@ -8,7 +8,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework/datasource" | ||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" | ||
"github.com/hashicorp/terraform-plugin-framework/path" | ||
diff --git a/pagerdutyplugin/data_source_pagerduty_tag.go b/pagerdutyplugin/data_source_pagerduty_tag.go | ||
index f162bb49..c25f9c7f 100644 | ||
--- a/pagerdutyplugin/data_source_pagerduty_tag.go | ||
+++ b/pagerdutyplugin/data_source_pagerduty_tag.go | ||
@@ -7,7 +7,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework/datasource" | ||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" | ||
"github.com/hashicorp/terraform-plugin-framework/path" | ||
diff --git a/pagerdutyplugin/provider_test.go b/pagerdutyplugin/provider_test.go | ||
index 7c589313..9c74b115 100644 | ||
--- a/pagerdutyplugin/provider_test.go | ||
+++ b/pagerdutyplugin/provider_test.go | ||
@@ -6,7 +6,7 @@ import ( | ||
"testing" | ||
"time" | ||
|
||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework/providerserver" | ||
"github.com/hashicorp/terraform-plugin-go/tfprotov5" | ||
"github.com/hashicorp/terraform-plugin-mux/tf5muxserver" | ||
diff --git a/pagerdutyplugin/resource_pagerduty_extension.go b/pagerdutyplugin/resource_pagerduty_extension.go | ||
index 476653e0..05d1f62b 100644 | ||
--- a/pagerdutyplugin/resource_pagerduty_extension.go | ||
+++ b/pagerdutyplugin/resource_pagerduty_extension.go | ||
@@ -8,7 +8,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework/attr" | ||
"github.com/hashicorp/terraform-plugin-framework/diag" | ||
"github.com/hashicorp/terraform-plugin-framework/path" | ||
diff --git a/pagerdutyplugin/resource_pagerduty_extension_servicenow.go b/pagerdutyplugin/resource_pagerduty_extension_servicenow.go | ||
index 7abf7e4e..6bdf5b40 100644 | ||
--- a/pagerdutyplugin/resource_pagerduty_extension_servicenow.go | ||
+++ b/pagerdutyplugin/resource_pagerduty_extension_servicenow.go | ||
@@ -8,7 +8,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" | ||
"github.com/hashicorp/terraform-plugin-framework/attr" | ||
"github.com/hashicorp/terraform-plugin-framework/diag" | ||
diff --git a/pagerdutyplugin/resource_pagerduty_extension_test.go b/pagerdutyplugin/resource_pagerduty_extension_test.go | ||
index c63934d5..49f6d726 100644 | ||
--- a/pagerdutyplugin/resource_pagerduty_extension_test.go | ||
+++ b/pagerdutyplugin/resource_pagerduty_extension_test.go | ||
@@ -8,7 +8,7 @@ import ( | ||
"testing" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" | ||
"github.com/hashicorp/terraform-plugin-testing/helper/resource" | ||
"github.com/hashicorp/terraform-plugin-testing/terraform" | ||
diff --git a/pagerdutyplugin/resource_pagerduty_tag.go b/pagerdutyplugin/resource_pagerduty_tag.go | ||
index 6a9d75f3..a332f0e1 100644 | ||
--- a/pagerdutyplugin/resource_pagerduty_tag.go | ||
+++ b/pagerdutyplugin/resource_pagerduty_tag.go | ||
@@ -7,7 +7,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework/path" | ||
"github.com/hashicorp/terraform-plugin-framework/resource" | ||
"github.com/hashicorp/terraform-plugin-framework/resource/schema" | ||
diff --git a/pagerdutyplugin/resource_pagerduty_tag_assignment.go b/pagerdutyplugin/resource_pagerduty_tag_assignment.go | ||
index 0acc1538..5fbb7578 100644 | ||
--- a/pagerdutyplugin/resource_pagerduty_tag_assignment.go | ||
+++ b/pagerdutyplugin/resource_pagerduty_tag_assignment.go | ||
@@ -8,7 +8,7 @@ import ( | ||
"time" | ||
|
||
"github.com/PagerDuty/go-pagerduty" | ||
- "github.com/PagerDuty/terraform-provider-pagerduty/util" | ||
+ "github.com/PagerDuty/terraform-provider-pagerduty/v3/util" | ||
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" | ||
"github.com/hashicorp/terraform-plugin-framework/diag" | ||
"github.com/hashicorp/terraform-plugin-framework/resource" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.