@@ -15,8 +15,10 @@ import (
1515
1616func DataSourceSessionsMySQL () * schema.Resource {
1717 return & schema.Resource {
18- Description : "Current sessions of a MySQL managed database" ,
19- ReadContext : dataSourceSessionsMySQLRead ,
18+ EnableLegacyTypeSystemApplyErrors : true ,
19+ EnableLegacyTypeSystemPlanErrors : true ,
20+ Description : "Current sessions of a MySQL managed database" ,
21+ ReadContext : dataSourceSessionsMySQLRead ,
2022 Schema : utils .JoinSchemas (
2123 schemaDataSourceSessionsCommon (),
2224 schemaDataSourceSessionsMySQL (),
@@ -26,8 +28,10 @@ func DataSourceSessionsMySQL() *schema.Resource {
2628
2729func DataSourceSessionsPostgreSQL () * schema.Resource {
2830 return & schema.Resource {
29- Description : "Current sessions of a PostgreSQL managed database" ,
30- ReadContext : dataSourceSessionsPostgreSQLRead ,
31+ EnableLegacyTypeSystemApplyErrors : true ,
32+ EnableLegacyTypeSystemPlanErrors : true ,
33+ Description : "Current sessions of a PostgreSQL managed database" ,
34+ ReadContext : dataSourceSessionsPostgreSQLRead ,
3135 Schema : utils .JoinSchemas (
3236 schemaDataSourceSessionsCommon (),
3337 schemaDataSourceSessionsPostgreSQL (),
@@ -37,8 +41,10 @@ func DataSourceSessionsPostgreSQL() *schema.Resource {
3741
3842func DataSourceSessionsRedis () * schema.Resource {
3943 return & schema.Resource {
40- Description : "Current sessions of a Redis managed database" ,
41- ReadContext : dataSourceSessionsRedisRead ,
44+ EnableLegacyTypeSystemApplyErrors : true ,
45+ EnableLegacyTypeSystemPlanErrors : true ,
46+ Description : "Current sessions of a Redis managed database" ,
47+ ReadContext : dataSourceSessionsRedisRead ,
4248 Schema : utils .JoinSchemas (
4349 schemaDataSourceSessionsCommon (),
4450 schemaDataSourceSessionsRedis (),
@@ -113,7 +119,9 @@ func schemaDataSourceSessionsRedis() map[string]*schema.Schema {
113119
114120func schemaDatabaseSessionMySQL () * schema.Resource {
115121 return & schema.Resource {
116- Description : "MySQL session" ,
122+ EnableLegacyTypeSystemApplyErrors : true ,
123+ EnableLegacyTypeSystemPlanErrors : true ,
124+ Description : "MySQL session" ,
117125 Schema : map [string ]* schema.Schema {
118126 "application_name" : {
119127 Description : "Name of the application that is connected to this service." ,
@@ -161,7 +169,9 @@ func schemaDatabaseSessionMySQL() *schema.Resource {
161169
162170func schemaDatabaseSessionPostgreSQL () * schema.Resource {
163171 return & schema.Resource {
164- Description : "PostgreSQL session" ,
172+ EnableLegacyTypeSystemApplyErrors : true ,
173+ EnableLegacyTypeSystemPlanErrors : true ,
174+ Description : "PostgreSQL session" ,
165175 Schema : map [string ]* schema.Schema {
166176 "application_name" : {
167177 Description : "Name of the application that is connected to this service." ,
@@ -278,7 +288,9 @@ func schemaDatabaseSessionPostgreSQL() *schema.Resource {
278288
279289func schemaDatabaseSessionRedis () * schema.Resource {
280290 return & schema.Resource {
281- Description : "Redis session" ,
291+ EnableLegacyTypeSystemApplyErrors : true ,
292+ EnableLegacyTypeSystemPlanErrors : true ,
293+ Description : "Redis session" ,
282294 Schema : map [string ]* schema.Schema {
283295 "active_channel_subscriptions" : {
284296 Description : "Number of active channel subscriptions" ,
0 commit comments