Skip to content

Commit adef8db

Browse files
committed
Log the instance ID as soon as it's been created
1 parent 9d7f28f commit adef8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/tencentcloud/cvm/step_run_instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (s *stepRunInstance) Run(ctx context.Context, state multistep.StateBag) mul
173173
}
174174

175175
s.instanceId = *resp.Response.InstanceIdSet[0]
176-
Message(state, "Waiting for instance ready", "")
176+
Message(state, fmt.Sprintf("Instance %s created, waiting for instance ready", s.instanceId), "")
177177

178178
err = WaitForInstance(ctx, client, s.instanceId, "RUNNING", 1800)
179179
if err != nil {

0 commit comments

Comments
 (0)