Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(mCtxArgs *mc.ContextArgs, args *WindowsServerArgs) (err 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(mCtxArgs *mc.ContextArgs) (err error)
Will destroy resources related to machine
Types ¶
type WindowsServerArgs ¶ added in v0.9.1
type WindowsServerArgs 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
// Machine params
ComputeRequest *cr.ComputeRequestArgs
Spot *spotTypes.SpotArgs
Airgap bool
ServiceEndpoints []string
// If timeout is set a severless scheduled task will be created to self destroy the resources
Timeout string
}
add proxy https://github.com/ptcodes/proxy-server-with-terraform/blob/master/main.tf
Click to show internal directories.
Click to hide internal directories.