Documentation
¶
Overview ¶
Package cmd implements the Cloudrift command-line interface.
The CLI is built using Cobra and provides subcommands for different operations. Currently supported commands:
- scan: Detect drift between Terraform plans and live AWS state
Usage:
cloudrift scan --config=config/cloudrift.yml --service=s3
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DriftDetector ¶
type DriftDetector interface {
// FetchLiveState retrieves the current state of resources from AWS.
FetchLiveState() (interface{}, error)
// DetectDrift compares planned state against live state and returns differences.
DetectDrift(plan interface{}, live interface{}) ([]detector.DriftResult, error)
}
DriftDetector defines the interface for service-specific drift detectors.
Each supported AWS service (S3, EC2, etc.) implements this interface to provide consistent drift detection behavior across services.
Click to show internal directories.
Click to hide internal directories.