Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions pkg/tree/aws/ec2/launch_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@ import (
)

type LaunchTemplate struct {
resource.Resource `tree:"-"`
Name value.String `tree:"name"`
InstanceType value.String `tree:"instance_type"`
AMI value.String `tree:"ami"`
EBSOptimized value.Bool `tree:"ebs_optimised"`
MonitoringEnabled value.Bool `tree:"monitoring_enabled"`
CPUCredits value.Value[CPUCreditOption] `tree:"cpu_credits"`
Tenancy value.Value[Tenancy] `tree:"tenancy"`
MarketType value.Value[PurchaseOption] `tree:"market_type"`
BlockDeviceMappings []BlockDeviceMapping `tree:"block_device_mappings"`
NetworkInterfaces []NetworkInterface `tree:"network_interfaces"`
OnDemandPercentageAboveBaseCount value.Int `tree:"on_demand_percentage_above_base_count"`
MetadataOptions InstanceMetadataOptions `tree:"metadata_options"`
resource.Resource `tree:"-"`
Name value.String `tree:"name"`
InstanceType value.String `tree:"instance_type"`
AMI value.String `tree:"ami"`
EBSOptimized value.Bool `tree:"ebs_optimised"`
MonitoringEnabled value.Bool `tree:"monitoring_enabled"`
CPUCredits value.Value[CPUCreditOption] `tree:"cpu_credits"`
Tenancy value.Value[Tenancy] `tree:"tenancy"`
MarketType value.Value[PurchaseOption] `tree:"market_type"`
BlockDeviceMappings []BlockDeviceMapping `tree:"block_device_mappings"`
NetworkInterfaces []NetworkInterface `tree:"network_interfaces"`
OnDemandPercentageAboveBaseCount value.Int `tree:"on_demand_percentage_above_base_count"`
MetadataOptions InstanceMetadataOptions `tree:"metadata_options"`
InstanceTagSpecifications resource.Tags `tree:"instance_tag_specifications"`
VolumeTagSpecifications resource.Tags `tree:"volume_tag_specifications"`
NetworkInterfaceTagSpecifications resource.Tags `tree:"network_interface_tag_specifications"`
}

type NetworkInterface struct {
Expand Down
Loading