mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
command/import: change import message to 'prepared' (#20018)
* Change import message to 'prepared' * Update command/hook_ui.go Co-Authored-By: Kristin Laemmert <mildwonkey@users.noreply.github.com>
This commit is contained in:
parent
fbbb4dd59d
commit
02efe97a59
@ -316,10 +316,10 @@ func (h *UiHook) PostImportState(addr addrs.AbsResourceInstance, imported []prov
|
|||||||
h.once.Do(h.init)
|
h.once.Do(h.init)
|
||||||
|
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][bold][green]%s: Import complete!", addr)))
|
"[reset][bold][green]%s: Import prepared!", addr)))
|
||||||
for _, s := range imported {
|
for _, s := range imported {
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][green] Imported %s",
|
"[reset][green] Prepared %s for import",
|
||||||
s.TypeName,
|
s.TypeName,
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user