Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compute ¶
type Compute struct { // Non spot return a on-demand insntace Instance *ec2.Instance // Spot instance is created through a mixedPolicy on a as group // in case of asg it is accessed through the LB AutoscalingGroup *autoscaling.Group LB *lb.LoadBalancer }
type ComputeRequest ¶
type ComputeRequest struct { Prefix string ID string VPC *ec2.Vpc Subnet *ec2.Subnet LB *lb.LoadBalancer // Array of TCP ports to be // created as tg for the LB LBTargetGroups []int AMI *ec2.LookupAmiResult KeyResources *keypair.KeyPairResources SecurityGroups pulumi.StringArray InstaceTypes []string DiskSize *int Airgap bool Spot bool // Only required if Spot is true SpotPrice string UserDataAsBase64 pulumi.StringPtrInput }
func (*ComputeRequest) NewCompute ¶
func (r *ComputeRequest) NewCompute(ctx *pulumi.Context) (*Compute, error)
TODO on-demand could be changed to to policy trying spot
Click to show internal directories.
Click to hide internal directories.