Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultUser is used if there is no user given DefaultUser = "root" // DefaultPort is used if there is no port given DefaultPort = 22 // DefaultScriptPath is used as the path to copy the file to // for remote execution if not provided otherwise. DefaultScriptPath = "/tmp/terraform_%RAND%.sh" // DefaultTimeout is used if there is no timeout given DefaultTimeout = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalMode ¶
type LocalMode struct {
// contains filtered or unexported fields
}
LocalMode represents local provisioner mode.
func NewLocalMode ¶
NewLocalMode returns configured local mode provisioner.
func (*LocalMode) ComputeResource ¶
type RemoteMode ¶
type RemoteMode struct {
// contains filtered or unexported fields
}
RemoteMode represents remote provisioner mode.
func NewRemoteMode ¶
func NewRemoteMode(o terraform.UIOutput, s *terraform.InstanceState, remoteSettings *types.RemoteSettings) (*RemoteMode, error)
NewRemoteMode returns configured remote mode provisioner.
Click to show internal directories.
Click to hide internal directories.