@@ -82,10 +82,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
8282 Block : & tfprotov5.SchemaBlock {
8383 Attributes : []* tfprotov5.SchemaAttribute {
8484 {
85- Name : "test_attribute" ,
86- Type : tftypes .String ,
87- Optional : true ,
88- Deprecated : true ,
85+ Name : "test_attribute" ,
86+ Type : tftypes .String ,
87+ Optional : true ,
88+ Deprecated : true ,
89+ DeprecationMessage : "deprecated" ,
8990 },
9091 },
9192 },
@@ -238,10 +239,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
238239 Block : & tfprotov5.SchemaBlock {
239240 Attributes : []* tfprotov5.SchemaAttribute {
240241 {
241- Deprecated : true ,
242- Name : "test_attribute" ,
243- Optional : true ,
244- Type : tftypes .Bool ,
242+ Deprecated : true ,
243+ DeprecationMessage : "deprecated" ,
244+ Name : "test_attribute" ,
245+ Optional : true ,
246+ Type : tftypes .Bool ,
245247 },
246248 },
247249 },
@@ -1393,10 +1395,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
13931395 Block : & tfprotov5.SchemaBlock {
13941396 Attributes : []* tfprotov5.SchemaAttribute {
13951397 {
1396- Deprecated : true ,
1397- Name : "test_attribute" ,
1398- Optional : true ,
1399- Type : tftypes .Bool ,
1398+ Deprecated : true ,
1399+ DeprecationMessage : "deprecated" ,
1400+ Name : "test_attribute" ,
1401+ Optional : true ,
1402+ Type : tftypes .Bool ,
14001403 },
14011404 },
14021405 },
@@ -2718,10 +2721,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
27182721 Block : & tfprotov5.SchemaBlock {
27192722 Attributes : []* tfprotov5.SchemaAttribute {
27202723 {
2721- Deprecated : true ,
2722- Name : "test_attribute" ,
2723- Optional : true ,
2724- Type : tftypes .String ,
2724+ Deprecated : true ,
2725+ DeprecationMessage : "deprecated" ,
2726+ Name : "test_attribute" ,
2727+ Optional : true ,
2728+ Type : tftypes .String ,
27252729 },
27262730 },
27272731 },
@@ -2850,10 +2854,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
28502854 Block : & tfprotov5.SchemaBlock {
28512855 Attributes : []* tfprotov5.SchemaAttribute {
28522856 {
2853- Deprecated : true ,
2854- Name : "test_attribute" ,
2855- Optional : true ,
2856- Type : tftypes .Bool ,
2857+ Deprecated : true ,
2858+ DeprecationMessage : "deprecated" ,
2859+ Name : "test_attribute" ,
2860+ Optional : true ,
2861+ Type : tftypes .Bool ,
28572862 },
28582863 },
28592864 },
@@ -4516,10 +4521,11 @@ func TestGetProviderSchemaResponse(t *testing.T) {
45164521 Block : & tfprotov5.SchemaBlock {
45174522 Attributes : []* tfprotov5.SchemaAttribute {
45184523 {
4519- Deprecated : true ,
4520- Name : "test_attribute" ,
4521- Optional : true ,
4522- Type : tftypes .Bool ,
4524+ Deprecated : true ,
4525+ DeprecationMessage : "deprecated" ,
4526+ Name : "test_attribute" ,
4527+ Optional : true ,
4528+ Type : tftypes .Bool ,
45234529 },
45244530 },
45254531 },
0 commit comments