2018-01-17 19:33:35 -05:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2018-01-25 17:45:09 -05:00
|
|
|
"github.com/hashicorp/packer/helper/multistep"
|
2018-01-17 19:33:35 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func CommHost(state multistep.StateBag) (string, error) {
|
|
|
|
ipAddress := state.Get("instance_ip").(string)
|
|
|
|
return ipAddress, nil
|
|
|
|
}
|