Documentation ¶
Index ¶
- Constants
- func CreateLaunchTemplate(e aws.Environment, name string, ...) (*ec2.LaunchTemplate, error)
- func GetAMIFromSSM(e aws.Environment, paramName string) (string, error)
- func LatestUbuntuAMI(e aws.Environment, arch string) (string, error)
- func NewAutoscalingGroup(e aws.Environment, name string, launchTemplateID pulumi.StringInput, ...) (*autoscaling.Group, error)
- func NewInstance(e aws.Environment, name string, args InstanceArgs, ...) (*ec2.Instance, error)
- func SearchAMI(e aws.Environment, owner, name, arch string) (string, error)
- type InstanceArgs
Constants ¶
View Source
const ( AMD64Arch = "x86_64" ARM64Arch = "arm64" )
Variables ¶
This section is empty.
Functions ¶
func CreateLaunchTemplate ¶
func CreateLaunchTemplate(e aws.Environment, name string, ami, instanceType, iamProfileArn, keyPair, userData pulumi.StringInput) (*ec2.LaunchTemplate, error)
func GetAMIFromSSM ¶
func GetAMIFromSSM(e aws.Environment, paramName string) (string, error)
func LatestUbuntuAMI ¶
func LatestUbuntuAMI(e aws.Environment, arch string) (string, error)
Latest 22.04 (jammy)
func NewAutoscalingGroup ¶
func NewAutoscalingGroup(e aws.Environment, name string, launchTemplateID pulumi.StringInput, launchTemplateVersion pulumi.IntInput, desired, min, max int, ) (*autoscaling.Group, error)
func NewInstance ¶
func NewInstance(e aws.Environment, name string, args InstanceArgs, opts ...pulumi.ResourceOption) (*ec2.Instance, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.