Versions in this module Expand all Collapse all v0 v0.136.0 Jan 30, 2025 Changes in this version + const AdminPasswordStubOnImport + const YandexAirflowClusterCreateTimeout + const YandexAirflowClusterDeleteTimeout + const YandexAirflowClusterUpdateTimeout + func BuildCreateClusterRequest(ctx context.Context, clusterModel *ClusterModel, providerConfig *config.State) (*airflow.CreateClusterRequest, diag.Diagnostics) + func BuildUpdateClusterRequest(ctx context.Context, state *ClusterModel, plan *ClusterModel) (*airflow.UpdateClusterRequest, diag.Diagnostics) + func ClusterResourceSchema(ctx context.Context) schema.Schema + func ClusterToState(ctx context.Context, cluster *airflow.Cluster, state *ClusterModel) diag.Diagnostics + func CreateCluster(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...) (string, diag.Diagnostic) + func DeleteCluster(ctx context.Context, sdk *ycsdk.SDK, cid string) diag.Diagnostic + func GetClusterByID(ctx context.Context, sdk *ycsdk.SDK, cid string) (*airflow.Cluster, diag.Diagnostic) + func UpdateCluster(ctx context.Context, sdk *ycsdk.SDK, req *airflow.UpdateClusterRequest) diag.Diagnostic + type ClusterModel struct + AdminPassword types.String + AirflowConfig types.Map + CodeSync CodeSyncValue + CreatedAt types.String + DebPackages types.Set + DeletionProtection types.Bool + Description types.String + FolderId types.String + Health types.String + Id types.String + Labels types.Map + LockboxSecretsBackend LockboxSecretsBackendValue + Logging LoggingValue + Name types.String + PipPackages types.Set + Scheduler SchedulerValue + SecurityGroupIds types.Set + ServiceAccountId types.String + Status types.String + SubnetIds types.Set + Timeouts timeouts.Value + Triggerer TriggererValue + Webserver WebserverValue + Worker WorkerValue + type CodeSyncType struct + func (t CodeSyncType) Equal(o attr.Type) bool + func (t CodeSyncType) String() string + func (t CodeSyncType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t CodeSyncType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t CodeSyncType) ValueType(ctx context.Context) attr.Value + type CodeSyncValue struct + S3 basetypes.ObjectValue + func NewCodeSyncValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CodeSyncValue, diag.Diagnostics) + func NewCodeSyncValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CodeSyncValue + func NewCodeSyncValueNull() CodeSyncValue + func NewCodeSyncValueUnknown() CodeSyncValue + func (v CodeSyncValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v CodeSyncValue) Equal(o attr.Value) bool + func (v CodeSyncValue) IsNull() bool + func (v CodeSyncValue) IsUnknown() bool + func (v CodeSyncValue) String() string + func (v CodeSyncValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v CodeSyncValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v CodeSyncValue) Type(ctx context.Context) attr.Type + type CommonForCreateAndUpdate struct + AirflowConfig *airflow.AirflowConfig + CodeSync *airflow.CodeSyncConfig + DeletionProtection bool + Dependencies *airflow.Dependencies + Description string + Labels map[string]string + Lockbox *airflow.LockboxConfig + Logging *airflow.LoggingConfig + Name string + Scheduler *airflow.SchedulerConfig + SecurityGroupIds []string + ServiceAccountId string + Triggerer *airflow.TriggererConfig + Webserver *airflow.WebserverConfig + Worker *airflow.WorkerConfig + type LockboxSecretsBackendType struct + func (t LockboxSecretsBackendType) Equal(o attr.Type) bool + func (t LockboxSecretsBackendType) String() string + func (t LockboxSecretsBackendType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t LockboxSecretsBackendType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t LockboxSecretsBackendType) ValueType(ctx context.Context) attr.Value + type LockboxSecretsBackendValue struct + Enabled basetypes.BoolValue + func NewLockboxSecretsBackendValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LockboxSecretsBackendValue, diag.Diagnostics) + func NewLockboxSecretsBackendValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LockboxSecretsBackendValue + func NewLockboxSecretsBackendValueNull() LockboxSecretsBackendValue + func NewLockboxSecretsBackendValueUnknown() LockboxSecretsBackendValue + func (v LockboxSecretsBackendValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v LockboxSecretsBackendValue) Equal(o attr.Value) bool + func (v LockboxSecretsBackendValue) IsExplicitlyDisabled() bool + func (v LockboxSecretsBackendValue) IsNull() bool + func (v LockboxSecretsBackendValue) IsUnknown() bool + func (v LockboxSecretsBackendValue) String() string + func (v LockboxSecretsBackendValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v LockboxSecretsBackendValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v LockboxSecretsBackendValue) Type(ctx context.Context) attr.Type + type LoggingType struct + func (t LoggingType) Equal(o attr.Type) bool + func (t LoggingType) String() string + func (t LoggingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t LoggingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t LoggingType) ValueType(ctx context.Context) attr.Value + type LoggingValue struct + Enabled basetypes.BoolValue + FolderId basetypes.StringValue + LogGroupId basetypes.StringValue + MinLevel basetypes.StringValue + func NewLoggingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LoggingValue, diag.Diagnostics) + func NewLoggingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LoggingValue + func NewLoggingValueNull() LoggingValue + func NewLoggingValueUnknown() LoggingValue + func (v LoggingValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v LoggingValue) Equal(o attr.Value) bool + func (v LoggingValue) IsExplicitlyDisabled() bool + func (v LoggingValue) IsNull() bool + func (v LoggingValue) IsUnknown() bool + func (v LoggingValue) String() string + func (v LoggingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v LoggingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v LoggingValue) Type(ctx context.Context) attr.Type + type S3Type struct + func (t S3Type) Equal(o attr.Type) bool + func (t S3Type) String() string + func (t S3Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t S3Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t S3Type) ValueType(ctx context.Context) attr.Value + type S3Value struct + Bucket basetypes.StringValue + func NewS3Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (S3Value, diag.Diagnostics) + func NewS3ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) S3Value + func NewS3ValueNull() S3Value + func NewS3ValueUnknown() S3Value + func (v S3Value) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v S3Value) Equal(o attr.Value) bool + func (v S3Value) IsNull() bool + func (v S3Value) IsUnknown() bool + func (v S3Value) String() string + func (v S3Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v S3Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v S3Value) Type(ctx context.Context) attr.Type + type SchedulerType struct + func (t SchedulerType) Equal(o attr.Type) bool + func (t SchedulerType) String() string + func (t SchedulerType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t SchedulerType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t SchedulerType) ValueType(ctx context.Context) attr.Value + type SchedulerValue struct + Count basetypes.Int64Value + ResourcePresetId basetypes.StringValue + func NewSchedulerValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SchedulerValue, diag.Diagnostics) + func NewSchedulerValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SchedulerValue + func NewSchedulerValueNull() SchedulerValue + func NewSchedulerValueUnknown() SchedulerValue + func (v SchedulerValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v SchedulerValue) Equal(o attr.Value) bool + func (v SchedulerValue) IsNull() bool + func (v SchedulerValue) IsUnknown() bool + func (v SchedulerValue) String() string + func (v SchedulerValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v SchedulerValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v SchedulerValue) Type(ctx context.Context) attr.Type + type TimeoutsType struct + func (t TimeoutsType) Equal(o attr.Type) bool + func (t TimeoutsType) String() string + func (t TimeoutsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t TimeoutsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t TimeoutsType) ValueType(ctx context.Context) attr.Value + type TimeoutsValue struct + func NewTimeoutsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TimeoutsValue, diag.Diagnostics) + func NewTimeoutsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TimeoutsValue + func NewTimeoutsValueNull() TimeoutsValue + func NewTimeoutsValueUnknown() TimeoutsValue + func (v TimeoutsValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v TimeoutsValue) Equal(o attr.Value) bool + func (v TimeoutsValue) IsNull() bool + func (v TimeoutsValue) IsUnknown() bool + func (v TimeoutsValue) String() string + func (v TimeoutsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v TimeoutsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v TimeoutsValue) Type(ctx context.Context) attr.Type + type TriggererType struct + func (t TriggererType) Equal(o attr.Type) bool + func (t TriggererType) String() string + func (t TriggererType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t TriggererType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t TriggererType) ValueType(ctx context.Context) attr.Value + type TriggererValue struct + Count basetypes.Int64Value + ResourcePresetId basetypes.StringValue + func NewTriggererValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TriggererValue, diag.Diagnostics) + func NewTriggererValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TriggererValue + func NewTriggererValueNull() TriggererValue + func NewTriggererValueUnknown() TriggererValue + func (v TriggererValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v TriggererValue) Equal(o attr.Value) bool + func (v TriggererValue) IsNull() bool + func (v TriggererValue) IsUnknown() bool + func (v TriggererValue) String() string + func (v TriggererValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v TriggererValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v TriggererValue) Type(ctx context.Context) attr.Type + type WebserverType struct + func (t WebserverType) Equal(o attr.Type) bool + func (t WebserverType) String() string + func (t WebserverType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t WebserverType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t WebserverType) ValueType(ctx context.Context) attr.Value + type WebserverValue struct + Count basetypes.Int64Value + ResourcePresetId basetypes.StringValue + func NewWebserverValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (WebserverValue, diag.Diagnostics) + func NewWebserverValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) WebserverValue + func NewWebserverValueNull() WebserverValue + func NewWebserverValueUnknown() WebserverValue + func (v WebserverValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v WebserverValue) Equal(o attr.Value) bool + func (v WebserverValue) IsNull() bool + func (v WebserverValue) IsUnknown() bool + func (v WebserverValue) String() string + func (v WebserverValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v WebserverValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v WebserverValue) Type(ctx context.Context) attr.Type + type WorkerType struct + func (t WorkerType) Equal(o attr.Type) bool + func (t WorkerType) String() string + func (t WorkerType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) + func (t WorkerType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error) + func (t WorkerType) ValueType(ctx context.Context) attr.Value + type WorkerValue struct + MaxCount basetypes.Int64Value + MinCount basetypes.Int64Value + ResourcePresetId basetypes.StringValue + func NewWorkerValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (WorkerValue, diag.Diagnostics) + func NewWorkerValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) WorkerValue + func NewWorkerValueNull() WorkerValue + func NewWorkerValueUnknown() WorkerValue + func (v WorkerValue) AttributeTypes(ctx context.Context) map[string]attr.Type + func (v WorkerValue) Equal(o attr.Value) bool + func (v WorkerValue) IsNull() bool + func (v WorkerValue) IsUnknown() bool + func (v WorkerValue) String() string + func (v WorkerValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) + func (v WorkerValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error) + func (v WorkerValue) Type(ctx context.Context) attr.Type