packer-cn/builder/yandex/ssh.go

11 lines
218 B
Go
Raw Normal View History

package yandex
import (
2020-11-17 19:31:03 -05:00
"github.com/hashicorp/packer/packer-plugin-sdk/multistep"
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
return ipAddress, nil
}