torrust_tracker_deployer_lib/application/steps/infrastructure/mod.rs
1//! Infrastructure lifecycle management steps
2//!
3//! This module contains steps that manage infrastructure lifecycle using `OpenTofu`
4//! (Terraform). These steps handle the complete infrastructure provisioning and
5//! destruction workflow including initialization, planning, application, destruction,
6//! and information retrieval.
7//!
8//! ## Available Steps
9//!
10//! - `initialize` - `OpenTofu` initialization (tofu init)
11//! - `plan` - Infrastructure planning and change preview (tofu plan)
12//! - `apply` - Infrastructure provisioning and application (tofu apply)
13//! - `destroy` - Infrastructure destruction and teardown (tofu destroy)
14//! - `get_instance_info` - Instance information retrieval from state
15//!
16//! ## Key Features
17//!
18//! - Complete `OpenTofu` workflow orchestration
19//! - Infrastructure state management and tracking
20//! - Instance information extraction and processing
21//! - Integration with template rendering and configuration systems
22//!
23//! These steps provide the core infrastructure management capabilities for
24//! provisioning, destroying, and managing deployment environments.
25
26pub mod apply;
27pub mod destroy;
28pub mod get_instance_info;
29pub mod initialize;
30pub mod plan;
31pub mod validate;
32
33pub use apply::ApplyInfrastructureStep;
34pub use destroy::DestroyInfrastructureStep;
35pub use get_instance_info::GetInstanceInfoStep;
36pub use initialize::InitializeInfrastructureStep;
37pub use plan::PlanInfrastructureStep;
38pub use validate::ValidateInfrastructureStep;