Skip to content

Commit

Permalink
Check if movement is required during Read()
Browse files Browse the repository at this point in the history
  • Loading branch information
kklimonda-cl committed Aug 16, 2024
1 parent 4632f9b commit 56ee162
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 61 deletions.
6 changes: 6 additions & 0 deletions pkg/translate/terraform_provider/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,9 @@ func DataSourceReadFunction(resourceTyp properties.ResourceType, names *NameProv
"RenderLocationsPangoToState": func(source string, dest string) (string, error) {
return RenderLocationsPangoToState(names, paramSpec, source, dest)
},
"RenderCreateUpdateMovementRequired": func(state string, entries string) (string, error) {
return RendeCreateUpdateMovementRequired(state, entries)
},
"RenderLocationsStateToPango": func(source string, dest string) (string, error) {
return RenderLocationsStateToPango(names, paramSpec, source, dest)
},
Expand Down Expand Up @@ -2152,6 +2155,9 @@ func ResourceReadFunction(resourceTyp properties.ResourceType, names *NameProvid
"RenderLocationsPangoToState": func(source string, dest string) (string, error) {
return RenderLocationsPangoToState(names, paramSpec, source, dest)
},
"RenderCreateUpdateMovementRequired": func(state string, entries string) (string, error) {
return RendeCreateUpdateMovementRequired(state, entries)
},
"RenderLocationsStateToPango": func(source string, dest string) (string, error) {
return RenderLocationsStateToPango(names, paramSpec, source, dest)
},
Expand Down
Loading

0 comments on commit 56ee162

Please sign in to comment.