Documentation
¶
Overview ¶
Package awsconfig wraps aws/config.LoadDefaultConfig with the CLI's context resolution, so every command transparently honors the active `refresh use` selection (region/profile) without each call site re-implementing the chain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load returns an aws.Config with profile/region resolved from (in order):
- CLI flags --profile / --region (if cmd is non-nil and they are set)
- Standard AWS env vars (AWS_PROFILE, AWS_REGION) — handled by SDK
- The active refresh context (from cliconfig)
- AWS SDK defaults (~/.aws/config, IMDS, etc.)
CLI-supplied values always win so the user can override the active context for a single invocation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.