Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRegion ¶
func DefaultRegion(auth resource.AuthProvider) (aws.Config, error)
DefaultRegion returns an AWS configuration with the default region set.
The default region is determined:
- From AWS_DEFAULT_REGION environment variable.
- From region in ~/.aws/credentials.
- If neither is set, us-east-1 is used.
func WithRegion ¶
WithRegion creates an AWS configuration with the given auth and region.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.