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