Skip to content

Commit

Permalink
refactor: shared model in separate file
Browse files Browse the repository at this point in the history
OTT-6230
  • Loading branch information
thatsddr committed Jul 13, 2024
1 parent bcbfbcc commit b24abaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions awsmt/models_live_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@ type liveSourceModel struct {
SourceLocationName *string `tfsdk:"source_location_name"`
Tags map[string]string `tfsdk:"tags"`
}

type httpPackageConfigurationsModel struct {
Path *string `tfsdk:"path"`
SourceGroup *string `tfsdk:"source_group"`
Type *string `tfsdk:"type"`
}
7 changes: 7 additions & 0 deletions awsmt/models_shared.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package awsmt

type httpPackageConfigurationsModel struct {
Path *string `tfsdk:"path"`
SourceGroup *string `tfsdk:"source_group"`
Type *string `tfsdk:"type"`
}

0 comments on commit b24abaf

Please sign in to comment.