#[non_exhaustive]pub struct DefaultPipeline {
pub profile_map: Option<Arc<ProfileMap>>,
pub default_region: Option<Region>,
pub strict_providers: bool,
}Expand description
Default pipeline implementation per spec 91 § 12.
Stateless aside from the profile_map it carries for the provider
resolver. Construct via DefaultPipeline::new then chain
DefaultPipeline::with_profile_map / DefaultPipeline::with_default_region
/ DefaultPipeline::strict as needed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profile_map: Option<Arc<ProfileMap>>Provider-profile map shared with crate::provider::DefaultProviderResolver.
None means “no AWS profile mapping configured” — the resolver
still runs and uses Terragrunt-cascade / default_region only.
Held as Arc<ProfileMap> (not SharedProfileMap = ArcSwap<...>) so
the pipeline is cheap-Clone. Operators who want hot-reload semantics
can keep their own ArcSwap<ProfileMap> and rebuild the pipeline on
rotation; the resolver does not own the swappable handle.
default_region: Option<Region>Default AWS region applied when neither provider blocks nor
Terragrunt cascade supply one. Mirrors ProviderContext::default_region.
strict_providers: boolWhen true, the provider resolver returns StrictUnresolved
when any referenced profile is missing from profile_map.
Implementations§
Source§impl DefaultPipeline
impl DefaultPipeline
Sourcepub fn with_profile_map(self, map: Arc<ProfileMap>) -> Self
pub fn with_profile_map(self, map: Arc<ProfileMap>) -> Self
Pin a profile map. Returns self for chaining.
Sourcepub fn with_default_region(self, region: Region) -> Self
pub fn with_default_region(self, region: Region) -> Self
Pin a default region. Returns self for chaining.
Trait Implementations§
Source§impl Clone for DefaultPipeline
impl Clone for DefaultPipeline
Source§fn clone(&self) -> DefaultPipeline
fn clone(&self) -> DefaultPipeline
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more