diff --git a/Makefile b/Makefile index 0e421c3..ea1d3d6 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ tf: smoke: @terraform plan @npx cdk synth --app "python cdk.py" --profile dev - @cw ls groups + @AWS_PROFILE=dev cw ls groups .PHONY: doc doc: diff --git a/README.md b/README.md index 71406ae..09a945c 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,23 @@ export AWS_PROFILE=dev yawsso auto ``` +### Set Region + +- You can also set region from the config file to the shared credentials file +- Do like so: + +``` +yawsso -r -p dev +``` + +``` +yawsso -r -p dev:foo +``` + +``` +yawsso -r auto --profile dev +``` + ### Encryption `yawsso` can encrypt and decrypt some arbitrary string from `stdin` using [ROT13](https://en.wikipedia.org/wiki/ROT13) (_a simple letter substitution cipher_) as follows. diff --git a/package.json b/package.json index 318bd3f..b71defb 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "aws-cdk": "^2.106.1" + "aws-cdk": "^2.131.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd5781f..102e25f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,13 +6,13 @@ settings: dependencies: aws-cdk: - specifier: ^2.106.1 - version: 2.106.1 + specifier: ^2.131.0 + version: 2.131.0 packages: - /aws-cdk@2.106.1: - resolution: {integrity: sha512-RRkmXU7V6VPYGmmP/4Em+j8PQ06uecOetQVytyQISVzcYscrd+B+5ZXjFxy50Nvq0CUhOFWtDRbkQW06onmMzA==} + /aws-cdk@2.131.0: + resolution: {integrity: sha512-ji+MwGFGC88HE/EqV6/VARBp5mu3nXIDa/GYwtGycJqu6WqXhNZXWeDH0JsWaY6+BSUdpY6pr6KWpV+MDyVkDg==} engines: {node: '>= 14.15.0'} hasBin: true optionalDependencies: