@@ -38,7 +38,6 @@ type LineageResourceModel struct {
3838 Source types.String `tfsdk:"source"`
3939 Target types.String `tfsdk:"target"`
4040 ResourceID types.String `tfsdk:"resource_id"`
41- Type types.String `tfsdk:"type"`
4241}
4342
4443func (r * LineageResource ) Metadata (ctx context.Context , req resource.MetadataRequest , resp * resource.MetadataResponse ) {
@@ -65,11 +64,6 @@ func (r *LineageResource) Schema(ctx context.Context, req resource.SchemaRequest
6564 stringplanmodifier .UseStateForUnknown (),
6665 },
6766 },
68- "type" : schema.StringAttribute {
69- MarkdownDescription : "Lineage type" ,
70- Computed : true ,
71- Optional : true ,
72- },
7367 },
7468 }
7569}
@@ -111,7 +105,6 @@ func (r *LineageResource) Create(ctx context.Context, req resource.CreateRequest
111105 }
112106
113107 data .ResourceID = types .StringValue (result .Payload .ID )
114- data .Type = types .StringValue (result .Payload .Type )
115108
116109 resp .Diagnostics .Append (resp .State .Set (ctx , & data )... )
117110}
@@ -133,7 +126,6 @@ func (r *LineageResource) Read(ctx context.Context, req resource.ReadRequest, re
133126
134127 data .Source = types .StringValue (result .Payload .Source )
135128 data .Target = types .StringValue (result .Payload .Target )
136- data .Type = types .StringValue (result .Payload .Type )
137129
138130 resp .Diagnostics .Append (resp .State .Set (ctx , & data )... )
139131}
0 commit comments