2019-09-10 10:52:42 -04:00
|
|
|
package yandex
|
|
|
|
|
|
|
|
import (
|
2020-12-17 16:29:25 -05:00
|
|
|
"github.com/hashicorp/packer-plugin-sdk/multistep"
|
2019-09-10 10:52:42 -04:00
|
|
|
)
|
|
|
|
|
2020-12-09 10:51:34 -05:00
|
|
|
func CommHost(state multistep.StateBag) (string, error) {
|
2019-09-10 10:52:42 -04:00
|
|
|
ipAddress := state.Get("instance_ip").(string)
|
|
|
|
return ipAddress, nil
|
|
|
|
}
|