Documentation ¶
Index ¶
- type ComputeResources
- type ComputeResourcesAttributes
- func (cr ComputeResourcesAttributes) AllocationStrategy() terra.StringValue
- func (cr ComputeResourcesAttributes) BidPercentage() terra.NumberValue
- func (cr ComputeResourcesAttributes) DesiredVcpus() terra.NumberValue
- func (cr ComputeResourcesAttributes) Ec2Configuration() terra.ListValue[Ec2ConfigurationAttributes]
- func (cr ComputeResourcesAttributes) Ec2KeyPair() terra.StringValue
- func (cr ComputeResourcesAttributes) ImageId() terra.StringValue
- func (cr ComputeResourcesAttributes) InstanceRole() terra.StringValue
- func (cr ComputeResourcesAttributes) InstanceType() terra.SetValue[terra.StringValue]
- func (cr ComputeResourcesAttributes) InternalRef() (terra.Reference, error)
- func (cr ComputeResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr ComputeResourcesAttributes) InternalWithRef(ref terra.Reference) ComputeResourcesAttributes
- func (cr ComputeResourcesAttributes) LaunchTemplate() terra.ListValue[LaunchTemplateAttributes]
- func (cr ComputeResourcesAttributes) MaxVcpus() terra.NumberValue
- func (cr ComputeResourcesAttributes) MinVcpus() terra.NumberValue
- func (cr ComputeResourcesAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (cr ComputeResourcesAttributes) SpotIamFleetRole() terra.StringValue
- func (cr ComputeResourcesAttributes) Subnets() terra.SetValue[terra.StringValue]
- func (cr ComputeResourcesAttributes) Tags() terra.MapValue[terra.StringValue]
- func (cr ComputeResourcesAttributes) Type() terra.StringValue
- type ComputeResourcesState
- type Ec2Configuration
- type Ec2ConfigurationAttributes
- func (ec Ec2ConfigurationAttributes) ImageIdOverride() terra.StringValue
- func (ec Ec2ConfigurationAttributes) ImageType() terra.StringValue
- func (ec Ec2ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec Ec2ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec Ec2ConfigurationAttributes) InternalWithRef(ref terra.Reference) Ec2ConfigurationAttributes
- type Ec2ConfigurationState
- type EksConfiguration
- type EksConfigurationAttributes
- func (ec EksConfigurationAttributes) EksClusterArn() terra.StringValue
- func (ec EksConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec EksConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec EksConfigurationAttributes) InternalWithRef(ref terra.Reference) EksConfigurationAttributes
- func (ec EksConfigurationAttributes) KubernetesNamespace() terra.StringValue
- type EksConfigurationState
- type LaunchTemplate
- type LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) LaunchTemplateId() terra.StringValue
- func (lt LaunchTemplateAttributes) LaunchTemplateName() terra.StringValue
- func (lt LaunchTemplateAttributes) Version() terra.StringValue
- type LaunchTemplateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeResources ¶
type ComputeResources struct { // AllocationStrategy: string, optional AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr"` // BidPercentage: number, optional BidPercentage terra.NumberValue `hcl:"bid_percentage,attr"` // DesiredVcpus: number, optional DesiredVcpus terra.NumberValue `hcl:"desired_vcpus,attr"` // Ec2KeyPair: string, optional Ec2KeyPair terra.StringValue `hcl:"ec2_key_pair,attr"` // ImageId: string, optional ImageId terra.StringValue `hcl:"image_id,attr"` // InstanceRole: string, optional InstanceRole terra.StringValue `hcl:"instance_role,attr"` // InstanceType: set of string, optional InstanceType terra.SetValue[terra.StringValue] `hcl:"instance_type,attr"` // MaxVcpus: number, required MaxVcpus terra.NumberValue `hcl:"max_vcpus,attr" validate:"required"` // MinVcpus: number, optional MinVcpus terra.NumberValue `hcl:"min_vcpus,attr"` // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SpotIamFleetRole: string, optional SpotIamFleetRole terra.StringValue `hcl:"spot_iam_fleet_role,attr"` // Subnets: set of string, required Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Ec2Configuration: min=0,max=2 Ec2Configuration []Ec2Configuration `hcl:"ec2_configuration,block" validate:"min=0,max=2"` // LaunchTemplate: optional LaunchTemplate *LaunchTemplate `hcl:"launch_template,block"` }
type ComputeResourcesAttributes ¶
type ComputeResourcesAttributes struct {
// contains filtered or unexported fields
}
func (ComputeResourcesAttributes) AllocationStrategy ¶
func (cr ComputeResourcesAttributes) AllocationStrategy() terra.StringValue
func (ComputeResourcesAttributes) BidPercentage ¶
func (cr ComputeResourcesAttributes) BidPercentage() terra.NumberValue
func (ComputeResourcesAttributes) DesiredVcpus ¶
func (cr ComputeResourcesAttributes) DesiredVcpus() terra.NumberValue
func (ComputeResourcesAttributes) Ec2Configuration ¶
func (cr ComputeResourcesAttributes) Ec2Configuration() terra.ListValue[Ec2ConfigurationAttributes]
func (ComputeResourcesAttributes) Ec2KeyPair ¶
func (cr ComputeResourcesAttributes) Ec2KeyPair() terra.StringValue
func (ComputeResourcesAttributes) ImageId ¶
func (cr ComputeResourcesAttributes) ImageId() terra.StringValue
func (ComputeResourcesAttributes) InstanceRole ¶
func (cr ComputeResourcesAttributes) InstanceRole() terra.StringValue
func (ComputeResourcesAttributes) InstanceType ¶
func (cr ComputeResourcesAttributes) InstanceType() terra.SetValue[terra.StringValue]
func (ComputeResourcesAttributes) InternalRef ¶
func (cr ComputeResourcesAttributes) InternalRef() (terra.Reference, error)
func (ComputeResourcesAttributes) InternalTokens ¶
func (cr ComputeResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ComputeResourcesAttributes) InternalWithRef ¶
func (cr ComputeResourcesAttributes) InternalWithRef(ref terra.Reference) ComputeResourcesAttributes
func (ComputeResourcesAttributes) LaunchTemplate ¶
func (cr ComputeResourcesAttributes) LaunchTemplate() terra.ListValue[LaunchTemplateAttributes]
func (ComputeResourcesAttributes) MaxVcpus ¶
func (cr ComputeResourcesAttributes) MaxVcpus() terra.NumberValue
func (ComputeResourcesAttributes) MinVcpus ¶
func (cr ComputeResourcesAttributes) MinVcpus() terra.NumberValue
func (ComputeResourcesAttributes) SecurityGroupIds ¶
func (cr ComputeResourcesAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (ComputeResourcesAttributes) SpotIamFleetRole ¶
func (cr ComputeResourcesAttributes) SpotIamFleetRole() terra.StringValue
func (ComputeResourcesAttributes) Subnets ¶
func (cr ComputeResourcesAttributes) Subnets() terra.SetValue[terra.StringValue]
func (ComputeResourcesAttributes) Tags ¶
func (cr ComputeResourcesAttributes) Tags() terra.MapValue[terra.StringValue]
func (ComputeResourcesAttributes) Type ¶
func (cr ComputeResourcesAttributes) Type() terra.StringValue
type ComputeResourcesState ¶
type ComputeResourcesState struct { AllocationStrategy string `json:"allocation_strategy"` BidPercentage float64 `json:"bid_percentage"` DesiredVcpus float64 `json:"desired_vcpus"` Ec2KeyPair string `json:"ec2_key_pair"` ImageId string `json:"image_id"` InstanceRole string `json:"instance_role"` InstanceType []string `json:"instance_type"` MaxVcpus float64 `json:"max_vcpus"` MinVcpus float64 `json:"min_vcpus"` SecurityGroupIds []string `json:"security_group_ids"` SpotIamFleetRole string `json:"spot_iam_fleet_role"` Subnets []string `json:"subnets"` Tags map[string]string `json:"tags"` Type string `json:"type"` Ec2Configuration []Ec2ConfigurationState `json:"ec2_configuration"` LaunchTemplate []LaunchTemplateState `json:"launch_template"` }
type Ec2Configuration ¶
type Ec2Configuration struct { // ImageIdOverride: string, optional ImageIdOverride terra.StringValue `hcl:"image_id_override,attr"` // ImageType: string, optional ImageType terra.StringValue `hcl:"image_type,attr"` }
type Ec2ConfigurationAttributes ¶
type Ec2ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (Ec2ConfigurationAttributes) ImageIdOverride ¶
func (ec Ec2ConfigurationAttributes) ImageIdOverride() terra.StringValue
func (Ec2ConfigurationAttributes) ImageType ¶
func (ec Ec2ConfigurationAttributes) ImageType() terra.StringValue
func (Ec2ConfigurationAttributes) InternalRef ¶
func (ec Ec2ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (Ec2ConfigurationAttributes) InternalTokens ¶
func (ec Ec2ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Ec2ConfigurationAttributes) InternalWithRef ¶
func (ec Ec2ConfigurationAttributes) InternalWithRef(ref terra.Reference) Ec2ConfigurationAttributes
type Ec2ConfigurationState ¶
type EksConfiguration ¶
type EksConfiguration struct { // EksClusterArn: string, required EksClusterArn terra.StringValue `hcl:"eks_cluster_arn,attr" validate:"required"` // KubernetesNamespace: string, required KubernetesNamespace terra.StringValue `hcl:"kubernetes_namespace,attr" validate:"required"` }
type EksConfigurationAttributes ¶
type EksConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (EksConfigurationAttributes) EksClusterArn ¶
func (ec EksConfigurationAttributes) EksClusterArn() terra.StringValue
func (EksConfigurationAttributes) InternalRef ¶
func (ec EksConfigurationAttributes) InternalRef() (terra.Reference, error)
func (EksConfigurationAttributes) InternalTokens ¶
func (ec EksConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EksConfigurationAttributes) InternalWithRef ¶
func (ec EksConfigurationAttributes) InternalWithRef(ref terra.Reference) EksConfigurationAttributes
func (EksConfigurationAttributes) KubernetesNamespace ¶
func (ec EksConfigurationAttributes) KubernetesNamespace() terra.StringValue
type EksConfigurationState ¶
type LaunchTemplate ¶
type LaunchTemplate struct { // LaunchTemplateId: string, optional LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr"` // LaunchTemplateName: string, optional LaunchTemplateName terra.StringValue `hcl:"launch_template_name,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type LaunchTemplateAttributes ¶
type LaunchTemplateAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateAttributes) InternalRef ¶
func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateAttributes) InternalTokens ¶
func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateAttributes) InternalWithRef ¶
func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
func (LaunchTemplateAttributes) LaunchTemplateId ¶
func (lt LaunchTemplateAttributes) LaunchTemplateId() terra.StringValue
func (LaunchTemplateAttributes) LaunchTemplateName ¶
func (lt LaunchTemplateAttributes) LaunchTemplateName() terra.StringValue
func (LaunchTemplateAttributes) Version ¶
func (lt LaunchTemplateAttributes) Version() terra.StringValue
type LaunchTemplateState ¶
Click to show internal directories.
Click to hide internal directories.