cdk-real-drift 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -358,7 +358,7 @@ CI (with `--yes`).
358
358
  | option | meaning |
359
359
  | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
360
360
  | `--region <r>` | a stack's own `env.region` ALWAYS wins; for an env-AGNOSTIC stack (no `env`) it falls back to `--region` (or `$AWS_REGION` / `$AWS_DEFAULT_REGION`), else the AWS-CLI/cdk region chain — the active profile's region, then the `[default]` profile's region, then EC2 IMDS |
361
- | `--profile <p>` | AWS profile (or `$AWS_PROFILE`) |
361
+ | `--profile <p>` | AWS profile (else `$AWS_PROFILE`, else `$AWS_DEFAULT_PROFILE` — same order `aws` and `cdk` use) |
362
362
  | `-a, --app <cmd\|cdk.out>` | CDK app command or pre-synthesized assembly dir (or `$CDKRD_APP` / cdk.json `"app"`); stack auto-discovery + construct paths |
363
363
  | `-c, --context key=value` | context for synth (repeatable; cdk.json is the base layer) |
364
364
  | `--all` | target every stack the app defines (the default when no `<stack>` is named; overrides any positional names) |
package/dist/cli.js CHANGED
@@ -403,7 +403,7 @@ function parseCommonArgs(args, verb) {
403
403
  all: has("--all"),
404
404
  context,
405
405
  region: values["--region"] ?? process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION,
406
- profile: values["--profile"] ?? process.env.AWS_PROFILE,
406
+ profile: values["--profile"] ?? process.env.AWS_PROFILE ?? process.env.AWS_DEFAULT_PROFILE,
407
407
  app: values["--app"] ?? process.env.CDKRD_APP,
408
408
  json: has("--json"),
409
409
  fail: has("--fail"),