You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
incapsula_origin_pop: avoid crashing when upgrading from version 2* to 3* without changing the resource format in the state file + Add deprecation message to already deprecated resources (old data_center resources) (#167)
* incapsula_site: formatting parameters with %t fails if the values are strings, not bool ([#158](https://github.com/imperva/terraform-provider-incapsula/issues/158))
6
-
* incapsula_site: add retries when configuring site after creating it - to allow the site creation to fully finish
10
+
* incapsula_site: add retries when configuring site after creating it - to allow the site creation to fully finish ([#165](https://github.com/imperva/terraform-provider-incapsula/issues/165))
7
11
* incapsula_notification_center_policy: Fix redundant slash in path issue ([#162](https://github.com/imperva/terraform-provider-incapsula/issues/162))
12
+
* incapsula_origin_pop: avoid crashing when upgrading from version 2* to 3* without changing the resource format in the state file
Copy file name to clipboardExpand all lines: incapsula/resource_data_center.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,11 @@ import (
12
12
13
13
funcresourceDataCenter() *schema.Resource {
14
14
return&schema.Resource{
15
-
Create: resourceDataCenterCreate,
16
-
Read: resourceDataCenterRead,
17
-
Update: resourceDataCenterUpdate,
18
-
Delete: resourceDataCenterDelete,
15
+
DeprecationMessage: "This resource is deprecated. It will be removed in a future version. Please use resource incapsula_data_centers_configuration instead.",
Copy file name to clipboardExpand all lines: incapsula/resource_data_center_server.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,11 @@ import (
10
10
11
11
funcresourceDataCenterServer() *schema.Resource {
12
12
return&schema.Resource{
13
-
Create: resourceDataCenterServerCreate,
14
-
Read: resourceDataCenterServerRead,
15
-
Update: resourceDataCenterServerUpdate,
16
-
Delete: resourceDataCenterServerDelete,
13
+
DeprecationMessage: "This resource is deprecated. It will be removed in a future version. Please use resource incapsula_data_centers_configuration instead.",
Copy file name to clipboardExpand all lines: incapsula/resource_origin_pop.go
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,11 @@ import (
10
10
11
11
funcresourceOriginPOP() *schema.Resource {
12
12
return&schema.Resource{
13
-
Create: resourceOriginPOPUpdate,
14
-
Read: resourceOriginPOPRead,
15
-
Update: resourceOriginPOPUpdate,
16
-
Delete: resourceOriginPOPDelete,
13
+
DeprecationMessage: "This resource is deprecated. It will be removed in a future version. Please use resource incapsula_data_centers_configuration instead.",
0 commit comments