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