packer-cn/builder/yandex/ssh.go

11 lines
218 B
Go

package yandex
import (
"github.com/hashicorp/packer/packer-plugin-sdk/multistep"
)
func CommHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
return ipAddress, nil
}