Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapScript []byte
Functions ¶
func Create ¶
func Create(ctx *maptContext.ContextArgs, r *Request) error
Create orchestrate 3 stacks: If spot is enable it will run best spot option to get the best option to spin the machine Then it will run the stack for windows dedicated host
func Destroy ¶
func Destroy(ctx *maptContext.ContextArgs) (err error)
Will destroy resources related to machine
Types ¶
type Request ¶
type Request struct {
Prefix string
// AMI info. Optional. User and Owner only applied
// if AMIName is set
AMIName string
AMIUser string
AMIOwner string
AMILang string
AMIKeepCopy bool
// Features
Spot bool
Airgap bool
// If timeout is set a severless scheduled task will be created to self destroy the resources
Timeout string
// contains filtered or unexported fields
}
add proxy https://github.com/ptcodes/proxy-server-with-terraform/blob/master/main.tf
Click to show internal directories.
Click to hide internal directories.