1 changed file
aws | ||
.envrc | ||
Add comment 134 AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION:-eu-west-1}" # XXX: Edit default fallback region
Add comment 135 export AWS_DEFAULT_REGION
Add comment 136
Add comment 137 Minus # adding older variable AWS_REGION for compatability with tools like eksup:
Add comment 137 Plus # SDK uses AWS_REGION while AWS CLIv2 documents using AWS_DEFAULT_REGION
Add comment 138 Plus #
Add comment 139 Plus # support both now
Add comment 140 Plus #
Add comment 141 Plus # AWS_REGION appears to have higher priority too:
Add comment 142 Plus #
Add comment 143 Plus # https://docs.aws.amazon.com/sdkref/latest/guide/feature-region.html
Add comment 138 144 #
Add comment 139 145 # https://github.com/clowdhaus/eksup/issues/66
Add comment 140 146 #