ProjectHost::Aws and the tunnel registry: start looks for the project's live task before preparing (a running task is attached to with the token read back from its secret, never rotated), waits for a new access point, runs, waits, tunnels and checks the agent; a task the start ran is stopped on any later failure. Stop, remove (resources; data only on request), reconcile (background re-attach) and the AWS death watch, with exits confirmed through the registry. Docker-only Reset, migration, staleness and container info refuse or skip AWS projects; an AWS project with resources can't be moved off its host. Shutdown closes every tunnel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
564 B
Rust
25 lines
564 B
Rust
//! AWS connection plumbing: an SDK config built from a saved
|
|
//! `HostConnection`, the caller's identity, the tier policies and the
|
|
//! permission check.
|
|
//!
|
|
|
|
mod connection;
|
|
pub mod environments;
|
|
mod error;
|
|
mod identity;
|
|
#[cfg(test)]
|
|
mod live_tests;
|
|
pub mod permissions;
|
|
pub mod policies;
|
|
#[cfg(test)]
|
|
mod policy_eval;
|
|
pub mod runtime;
|
|
pub mod tasks;
|
|
pub mod tofu;
|
|
pub mod tofu_modules;
|
|
pub mod workspace;
|
|
|
|
pub use connection::{sdk_config, sdk_config_for_keys};
|
|
pub use error::{classify_sdk_error, AwsError};
|
|
pub use identity::{caller_identity, CallerIdentity};
|