Skip to main content

Module infrastructure

Module infrastructure 

Source
Expand description

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.

Re-exports§

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;

Modules§

apply
OpenTofu infrastructure application step
destroy
OpenTofu infrastructure destruction step
get_instance_info
Instance information retrieval step
initialize
OpenTofu infrastructure initialization step
plan
OpenTofu infrastructure planning step
validate
OpenTofu infrastructure validation step