Documentation ¶
Index ¶
- type AllInstancesConfig
- type AllInstancesConfigAttributes
- func (aic AllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic AllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic AllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) AllInstancesConfigAttributes
- func (aic AllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
- func (aic AllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
- type AllInstancesConfigState
- type Args
- type AutoHealingPolicies
- type AutoHealingPoliciesAttributes
- func (ahp AutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
- func (ahp AutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
- func (ahp AutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
- func (ahp AutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ahp AutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) AutoHealingPoliciesAttributes
- type AutoHealingPoliciesState
- type InstanceLifecyclePolicy
- type InstanceLifecyclePolicyAttributes
- func (ilp InstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
- func (ilp InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
- func (ilp InstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
- func (ilp InstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ilp InstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceLifecyclePolicyAttributes
- type InstanceLifecyclePolicyState
- type NamedPort
- type NamedPortAttributes
- func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
- func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
- func (np NamedPortAttributes) Name() terra.StringValue
- func (np NamedPortAttributes) Port() terra.NumberValue
- type NamedPortState
- type Resource
- func (gcrigm *Resource) Attributes() googleComputeRegionInstanceGroupManagerAttributes
- func (gcrigm *Resource) Configuration() interface{}
- func (gcrigm *Resource) DependOn() terra.Reference
- func (gcrigm *Resource) Dependencies() terra.Dependencies
- func (gcrigm *Resource) ImportState(state io.Reader) error
- func (gcrigm *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrigm *Resource) LocalName() string
- func (gcrigm *Resource) State() (*googleComputeRegionInstanceGroupManagerState, bool)
- func (gcrigm *Resource) StateMust() *googleComputeRegionInstanceGroupManagerState
- func (gcrigm *Resource) Type() string
- type StatefulDisk
- type StatefulDiskAttributes
- func (sd StatefulDiskAttributes) DeleteRule() terra.StringValue
- func (sd StatefulDiskAttributes) DeviceName() terra.StringValue
- func (sd StatefulDiskAttributes) InternalRef() (terra.Reference, error)
- func (sd StatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd StatefulDiskAttributes) InternalWithRef(ref terra.Reference) StatefulDiskAttributes
- type StatefulDiskState
- type StatefulExternalIp
- type StatefulExternalIpAttributes
- func (sei StatefulExternalIpAttributes) DeleteRule() terra.StringValue
- func (sei StatefulExternalIpAttributes) InterfaceName() terra.StringValue
- func (sei StatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sei StatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sei StatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulExternalIpAttributes
- type StatefulExternalIpState
- type StatefulInternalIp
- type StatefulInternalIpAttributes
- func (sii StatefulInternalIpAttributes) DeleteRule() terra.StringValue
- func (sii StatefulInternalIpAttributes) InterfaceName() terra.StringValue
- func (sii StatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sii StatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sii StatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulInternalIpAttributes
- type StatefulInternalIpState
- type StatusAllInstancesConfigAttributes
- func (aic StatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
- func (aic StatusAllInstancesConfigAttributes) Effective() terra.BoolValue
- func (aic StatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic StatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic StatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) StatusAllInstancesConfigAttributes
- type StatusAllInstancesConfigState
- type StatusAttributes
- func (s StatusAttributes) AllInstancesConfig() terra.ListValue[StatusAllInstancesConfigAttributes]
- func (s StatusAttributes) InternalRef() (terra.Reference, error)
- func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
- func (s StatusAttributes) IsStable() terra.BoolValue
- func (s StatusAttributes) Stateful() terra.ListValue[StatusStatefulAttributes]
- func (s StatusAttributes) VersionTarget() terra.ListValue[StatusVersionTargetAttributes]
- type StatusState
- type StatusStatefulAttributes
- func (s StatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
- func (s StatusStatefulAttributes) InternalRef() (terra.Reference, error)
- func (s StatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusStatefulAttributes) InternalWithRef(ref terra.Reference) StatusStatefulAttributes
- func (s StatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[StatusStatefulPerInstanceConfigsAttributes]
- type StatusStatefulPerInstanceConfigsAttributes
- func (pic StatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) StatusStatefulPerInstanceConfigsAttributes
- type StatusStatefulPerInstanceConfigsState
- type StatusStatefulState
- type StatusVersionTargetAttributes
- func (vt StatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
- func (vt StatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vt StatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) StatusVersionTargetAttributes
- func (vt StatusVersionTargetAttributes) IsReached() terra.BoolValue
- type StatusVersionTargetState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type UpdatePolicy
- type UpdatePolicyAttributes
- func (up UpdatePolicyAttributes) InstanceRedistributionType() terra.StringValue
- func (up UpdatePolicyAttributes) InternalRef() (terra.Reference, error)
- func (up UpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (up UpdatePolicyAttributes) InternalWithRef(ref terra.Reference) UpdatePolicyAttributes
- func (up UpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
- func (up UpdatePolicyAttributes) MinimalAction() terra.StringValue
- func (up UpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
- func (up UpdatePolicyAttributes) ReplacementMethod() terra.StringValue
- func (up UpdatePolicyAttributes) Type() terra.StringValue
- type UpdatePolicyState
- type Version
- type VersionAttributes
- func (v VersionAttributes) InstanceTemplate() terra.StringValue
- func (v VersionAttributes) InternalRef() (terra.Reference, error)
- func (v VersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v VersionAttributes) InternalWithRef(ref terra.Reference) VersionAttributes
- func (v VersionAttributes) Name() terra.StringValue
- func (v VersionAttributes) TargetSize() terra.ListValue[VersionTargetSizeAttributes]
- type VersionState
- type VersionTargetSize
- type VersionTargetSizeAttributes
- func (ts VersionTargetSizeAttributes) Fixed() terra.NumberValue
- func (ts VersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
- func (ts VersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ts VersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) VersionTargetSizeAttributes
- func (ts VersionTargetSizeAttributes) Percent() terra.NumberValue
- type VersionTargetSizeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllInstancesConfig ¶
type AllInstancesConfig struct { // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` }
type AllInstancesConfigAttributes ¶
type AllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (AllInstancesConfigAttributes) InternalRef ¶
func (aic AllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (AllInstancesConfigAttributes) InternalTokens ¶
func (aic AllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AllInstancesConfigAttributes) InternalWithRef ¶
func (aic AllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) AllInstancesConfigAttributes
func (AllInstancesConfigAttributes) Labels ¶
func (aic AllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
func (AllInstancesConfigAttributes) Metadata ¶
func (aic AllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
type AllInstancesConfigState ¶
type Args ¶
type Args struct { // BaseInstanceName: string, required BaseInstanceName terra.StringValue `hcl:"base_instance_name,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DistributionPolicyTargetShape: string, optional DistributionPolicyTargetShape terra.StringValue `hcl:"distribution_policy_target_shape,attr"` // DistributionPolicyZones: set of string, optional DistributionPolicyZones terra.SetValue[terra.StringValue] `hcl:"distribution_policy_zones,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ListManagedInstancesResults: string, optional ListManagedInstancesResults terra.StringValue `hcl:"list_managed_instances_results,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // TargetPools: set of string, optional TargetPools terra.SetValue[terra.StringValue] `hcl:"target_pools,attr"` // TargetSize: number, optional TargetSize terra.NumberValue `hcl:"target_size,attr"` // WaitForInstances: bool, optional WaitForInstances terra.BoolValue `hcl:"wait_for_instances,attr"` // WaitForInstancesStatus: string, optional WaitForInstancesStatus terra.StringValue `hcl:"wait_for_instances_status,attr"` // AllInstancesConfig: optional AllInstancesConfig *AllInstancesConfig `hcl:"all_instances_config,block"` // AutoHealingPolicies: optional AutoHealingPolicies *AutoHealingPolicies `hcl:"auto_healing_policies,block"` // InstanceLifecyclePolicy: optional InstanceLifecyclePolicy *InstanceLifecyclePolicy `hcl:"instance_lifecycle_policy,block"` // NamedPort: min=0 NamedPort []NamedPort `hcl:"named_port,block" validate:"min=0"` // StatefulDisk: min=0 StatefulDisk []StatefulDisk `hcl:"stateful_disk,block" validate:"min=0"` // StatefulExternalIp: min=0 StatefulExternalIp []StatefulExternalIp `hcl:"stateful_external_ip,block" validate:"min=0"` // StatefulInternalIp: min=0 StatefulInternalIp []StatefulInternalIp `hcl:"stateful_internal_ip,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // UpdatePolicy: optional UpdatePolicy *UpdatePolicy `hcl:"update_policy,block"` // Version: min=1 Version []Version `hcl:"version,block" validate:"min=1"` }
Args contains the configurations for google_compute_region_instance_group_manager.
type AutoHealingPolicies ¶
type AutoHealingPolicies struct { // HealthCheck: string, required HealthCheck terra.StringValue `hcl:"health_check,attr" validate:"required"` // InitialDelaySec: number, required InitialDelaySec terra.NumberValue `hcl:"initial_delay_sec,attr" validate:"required"` }
type AutoHealingPoliciesAttributes ¶
type AutoHealingPoliciesAttributes struct {
// contains filtered or unexported fields
}
func (AutoHealingPoliciesAttributes) HealthCheck ¶
func (ahp AutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
func (AutoHealingPoliciesAttributes) InitialDelaySec ¶
func (ahp AutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
func (AutoHealingPoliciesAttributes) InternalRef ¶
func (ahp AutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
func (AutoHealingPoliciesAttributes) InternalTokens ¶
func (ahp AutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoHealingPoliciesAttributes) InternalWithRef ¶
func (ahp AutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) AutoHealingPoliciesAttributes
type InstanceLifecyclePolicy ¶
type InstanceLifecyclePolicy struct { // DefaultActionOnFailure: string, optional DefaultActionOnFailure terra.StringValue `hcl:"default_action_on_failure,attr"` // ForceUpdateOnRepair: string, optional ForceUpdateOnRepair terra.StringValue `hcl:"force_update_on_repair,attr"` }
type InstanceLifecyclePolicyAttributes ¶
type InstanceLifecyclePolicyAttributes struct {
// contains filtered or unexported fields
}
func (InstanceLifecyclePolicyAttributes) DefaultActionOnFailure ¶
func (ilp InstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
func (InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair ¶
func (ilp InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
func (InstanceLifecyclePolicyAttributes) InternalRef ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
func (InstanceLifecyclePolicyAttributes) InternalTokens ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceLifecyclePolicyAttributes) InternalWithRef ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceLifecyclePolicyAttributes
type NamedPort ¶
type NamedPort struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` }
type NamedPortAttributes ¶
type NamedPortAttributes struct {
// contains filtered or unexported fields
}
func (NamedPortAttributes) InternalRef ¶
func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
func (NamedPortAttributes) InternalTokens ¶
func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NamedPortAttributes) InternalWithRef ¶
func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
func (NamedPortAttributes) Name ¶
func (np NamedPortAttributes) Name() terra.StringValue
func (NamedPortAttributes) Port ¶
func (np NamedPortAttributes) Port() terra.NumberValue
type NamedPortState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_compute_region_instance_group_manager.
func (*Resource) Attributes ¶
func (gcrigm *Resource) Attributes() googleComputeRegionInstanceGroupManagerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrigm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrigm *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type StatefulDisk ¶
type StatefulDisk struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` }
type StatefulDiskAttributes ¶
type StatefulDiskAttributes struct {
// contains filtered or unexported fields
}
func (StatefulDiskAttributes) DeleteRule ¶
func (sd StatefulDiskAttributes) DeleteRule() terra.StringValue
func (StatefulDiskAttributes) DeviceName ¶
func (sd StatefulDiskAttributes) DeviceName() terra.StringValue
func (StatefulDiskAttributes) InternalRef ¶
func (sd StatefulDiskAttributes) InternalRef() (terra.Reference, error)
func (StatefulDiskAttributes) InternalTokens ¶
func (sd StatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulDiskAttributes) InternalWithRef ¶
func (sd StatefulDiskAttributes) InternalWithRef(ref terra.Reference) StatefulDiskAttributes
type StatefulDiskState ¶
type StatefulExternalIp ¶
type StatefulExternalIp struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // InterfaceName: string, optional InterfaceName terra.StringValue `hcl:"interface_name,attr"` }
type StatefulExternalIpAttributes ¶
type StatefulExternalIpAttributes struct {
// contains filtered or unexported fields
}
func (StatefulExternalIpAttributes) DeleteRule ¶
func (sei StatefulExternalIpAttributes) DeleteRule() terra.StringValue
func (StatefulExternalIpAttributes) InterfaceName ¶
func (sei StatefulExternalIpAttributes) InterfaceName() terra.StringValue
func (StatefulExternalIpAttributes) InternalRef ¶
func (sei StatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
func (StatefulExternalIpAttributes) InternalTokens ¶
func (sei StatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulExternalIpAttributes) InternalWithRef ¶
func (sei StatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulExternalIpAttributes
type StatefulExternalIpState ¶
type StatefulInternalIp ¶
type StatefulInternalIp struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // InterfaceName: string, optional InterfaceName terra.StringValue `hcl:"interface_name,attr"` }
type StatefulInternalIpAttributes ¶
type StatefulInternalIpAttributes struct {
// contains filtered or unexported fields
}
func (StatefulInternalIpAttributes) DeleteRule ¶
func (sii StatefulInternalIpAttributes) DeleteRule() terra.StringValue
func (StatefulInternalIpAttributes) InterfaceName ¶
func (sii StatefulInternalIpAttributes) InterfaceName() terra.StringValue
func (StatefulInternalIpAttributes) InternalRef ¶
func (sii StatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
func (StatefulInternalIpAttributes) InternalTokens ¶
func (sii StatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulInternalIpAttributes) InternalWithRef ¶
func (sii StatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulInternalIpAttributes
type StatefulInternalIpState ¶
type StatusAllInstancesConfigAttributes ¶
type StatusAllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (StatusAllInstancesConfigAttributes) CurrentRevision ¶
func (aic StatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
func (StatusAllInstancesConfigAttributes) Effective ¶
func (aic StatusAllInstancesConfigAttributes) Effective() terra.BoolValue
func (StatusAllInstancesConfigAttributes) InternalRef ¶
func (aic StatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (StatusAllInstancesConfigAttributes) InternalTokens ¶
func (aic StatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAllInstancesConfigAttributes) InternalWithRef ¶
func (aic StatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) StatusAllInstancesConfigAttributes
type StatusAttributes ¶
type StatusAttributes struct {
// contains filtered or unexported fields
}
func (StatusAttributes) AllInstancesConfig ¶
func (s StatusAttributes) AllInstancesConfig() terra.ListValue[StatusAllInstancesConfigAttributes]
func (StatusAttributes) InternalRef ¶
func (s StatusAttributes) InternalRef() (terra.Reference, error)
func (StatusAttributes) InternalTokens ¶
func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAttributes) InternalWithRef ¶
func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
func (StatusAttributes) IsStable ¶
func (s StatusAttributes) IsStable() terra.BoolValue
func (StatusAttributes) Stateful ¶
func (s StatusAttributes) Stateful() terra.ListValue[StatusStatefulAttributes]
func (StatusAttributes) VersionTarget ¶
func (s StatusAttributes) VersionTarget() terra.ListValue[StatusVersionTargetAttributes]
type StatusState ¶
type StatusState struct { IsStable bool `json:"is_stable"` AllInstancesConfig []StatusAllInstancesConfigState `json:"all_instances_config"` Stateful []StatusStatefulState `json:"stateful"` VersionTarget []StatusVersionTargetState `json:"version_target"` }
type StatusStatefulAttributes ¶
type StatusStatefulAttributes struct {
// contains filtered or unexported fields
}
func (StatusStatefulAttributes) HasStatefulConfig ¶
func (s StatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
func (StatusStatefulAttributes) InternalRef ¶
func (s StatusStatefulAttributes) InternalRef() (terra.Reference, error)
func (StatusStatefulAttributes) InternalTokens ¶
func (s StatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusStatefulAttributes) InternalWithRef ¶
func (s StatusStatefulAttributes) InternalWithRef(ref terra.Reference) StatusStatefulAttributes
func (StatusStatefulAttributes) PerInstanceConfigs ¶
func (s StatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[StatusStatefulPerInstanceConfigsAttributes]
type StatusStatefulPerInstanceConfigsAttributes ¶
type StatusStatefulPerInstanceConfigsAttributes struct {
// contains filtered or unexported fields
}
func (StatusStatefulPerInstanceConfigsAttributes) AllEffective ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
func (StatusStatefulPerInstanceConfigsAttributes) InternalRef ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
func (StatusStatefulPerInstanceConfigsAttributes) InternalTokens ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusStatefulPerInstanceConfigsAttributes) InternalWithRef ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) StatusStatefulPerInstanceConfigsAttributes
type StatusStatefulPerInstanceConfigsState ¶
type StatusStatefulPerInstanceConfigsState struct {
AllEffective bool `json:"all_effective"`
}
type StatusStatefulState ¶
type StatusStatefulState struct { HasStatefulConfig bool `json:"has_stateful_config"` PerInstanceConfigs []StatusStatefulPerInstanceConfigsState `json:"per_instance_configs"` }
type StatusVersionTargetAttributes ¶
type StatusVersionTargetAttributes struct {
// contains filtered or unexported fields
}
func (StatusVersionTargetAttributes) InternalRef ¶
func (vt StatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
func (StatusVersionTargetAttributes) InternalTokens ¶
func (vt StatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusVersionTargetAttributes) InternalWithRef ¶
func (vt StatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) StatusVersionTargetAttributes
func (StatusVersionTargetAttributes) IsReached ¶
func (vt StatusVersionTargetAttributes) IsReached() terra.BoolValue
type StatusVersionTargetState ¶
type StatusVersionTargetState struct {
IsReached bool `json:"is_reached"`
}
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type UpdatePolicy ¶
type UpdatePolicy struct { // InstanceRedistributionType: string, optional InstanceRedistributionType terra.StringValue `hcl:"instance_redistribution_type,attr"` // MaxSurgeFixed: number, optional MaxSurgeFixed terra.NumberValue `hcl:"max_surge_fixed,attr"` // MaxSurgePercent: number, optional MaxSurgePercent terra.NumberValue `hcl:"max_surge_percent,attr"` MaxUnavailableFixed terra.NumberValue `hcl:"max_unavailable_fixed,attr"` MaxUnavailablePercent terra.NumberValue `hcl:"max_unavailable_percent,attr"` // MinimalAction: string, required MinimalAction terra.StringValue `hcl:"minimal_action,attr" validate:"required"` // MostDisruptiveAllowedAction: string, optional MostDisruptiveAllowedAction terra.StringValue `hcl:"most_disruptive_allowed_action,attr"` // ReplacementMethod: string, optional ReplacementMethod terra.StringValue `hcl:"replacement_method,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type UpdatePolicyAttributes ¶
type UpdatePolicyAttributes struct {
// contains filtered or unexported fields
}
func (UpdatePolicyAttributes) InstanceRedistributionType ¶
func (up UpdatePolicyAttributes) InstanceRedistributionType() terra.StringValue
func (UpdatePolicyAttributes) InternalRef ¶
func (up UpdatePolicyAttributes) InternalRef() (terra.Reference, error)
func (UpdatePolicyAttributes) InternalTokens ¶
func (up UpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpdatePolicyAttributes) InternalWithRef ¶
func (up UpdatePolicyAttributes) InternalWithRef(ref terra.Reference) UpdatePolicyAttributes
func (UpdatePolicyAttributes) MaxSurgeFixed ¶
func (up UpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
func (UpdatePolicyAttributes) MaxSurgePercent ¶
func (up UpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
func (UpdatePolicyAttributes) MaxUnavailableFixed ¶
func (up UpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
func (UpdatePolicyAttributes) MaxUnavailablePercent ¶
func (up UpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
func (UpdatePolicyAttributes) MinimalAction ¶
func (up UpdatePolicyAttributes) MinimalAction() terra.StringValue
func (UpdatePolicyAttributes) MostDisruptiveAllowedAction ¶
func (up UpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
func (UpdatePolicyAttributes) ReplacementMethod ¶
func (up UpdatePolicyAttributes) ReplacementMethod() terra.StringValue
func (UpdatePolicyAttributes) Type ¶
func (up UpdatePolicyAttributes) Type() terra.StringValue
type UpdatePolicyState ¶
type UpdatePolicyState struct { InstanceRedistributionType string `json:"instance_redistribution_type"` MaxSurgeFixed float64 `json:"max_surge_fixed"` MaxSurgePercent float64 `json:"max_surge_percent"` MinimalAction string `json:"minimal_action"` MostDisruptiveAllowedAction string `json:"most_disruptive_allowed_action"` ReplacementMethod string `json:"replacement_method"` Type string `json:"type"` }
type Version ¶
type Version struct { // InstanceTemplate: string, required InstanceTemplate terra.StringValue `hcl:"instance_template,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // VersionTargetSize: optional TargetSize *VersionTargetSize `hcl:"target_size,block"` }
type VersionAttributes ¶
type VersionAttributes struct {
// contains filtered or unexported fields
}
func (VersionAttributes) InstanceTemplate ¶
func (v VersionAttributes) InstanceTemplate() terra.StringValue
func (VersionAttributes) InternalRef ¶
func (v VersionAttributes) InternalRef() (terra.Reference, error)
func (VersionAttributes) InternalTokens ¶
func (v VersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersionAttributes) InternalWithRef ¶
func (v VersionAttributes) InternalWithRef(ref terra.Reference) VersionAttributes
func (VersionAttributes) Name ¶
func (v VersionAttributes) Name() terra.StringValue
func (VersionAttributes) TargetSize ¶
func (v VersionAttributes) TargetSize() terra.ListValue[VersionTargetSizeAttributes]
type VersionState ¶
type VersionState struct { InstanceTemplate string `json:"instance_template"` Name string `json:"name"` TargetSize []VersionTargetSizeState `json:"target_size"` }
type VersionTargetSize ¶
type VersionTargetSize struct { // Fixed: number, optional Fixed terra.NumberValue `hcl:"fixed,attr"` // Percent: number, optional Percent terra.NumberValue `hcl:"percent,attr"` }
type VersionTargetSizeAttributes ¶
type VersionTargetSizeAttributes struct {
// contains filtered or unexported fields
}
func (VersionTargetSizeAttributes) Fixed ¶
func (ts VersionTargetSizeAttributes) Fixed() terra.NumberValue
func (VersionTargetSizeAttributes) InternalRef ¶
func (ts VersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
func (VersionTargetSizeAttributes) InternalTokens ¶
func (ts VersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersionTargetSizeAttributes) InternalWithRef ¶
func (ts VersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) VersionTargetSizeAttributes
func (VersionTargetSizeAttributes) Percent ¶
func (ts VersionTargetSizeAttributes) Percent() terra.NumberValue
type VersionTargetSizeState ¶
Click to show internal directories.
Click to hide internal directories.