question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

context.default-region is no longer supported. But docs still states it is a possible option.

See original GitHub issue

I’m getting this error

The 'context.default-region' key was found in /Users/seanyu/Zap/test-cdk-static/cdk.json, but it is no longer supported. Please remove it.

when i run cdk deploy when my cdk.json have default-region

{
  "app": "node dist/cdk/index",
  "context": {
    "default-region": "ap-southeast-1",
  }
}

but it states in the docs https://docs.aws.amazon.com/CDK/latest/userguide/awscdk.pdf Environment and Aunthentication section that it still supports it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Doug-AWScommented, Feb 20, 2019

Done. The change will be visible when I rebuild the docs. I’ll post a link to the new docs when I’m done.

1reaction
rix0rrrcommented, Feb 20, 2019

No. We recommend you specify your region directly in the code. If you want to deploy the same stack to multiple regions, instantiate all of them and give each of them a different region.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maps JavaScript API Release Notes - Google Developers
Maps JS API no longer considers US as a default region in Geocoder if it's not ... Versions 3.49 and 3.48 are still...
Read more >
gcloud config set | Google Cloud CLI Documentation
API-first integration to connect existing data and applications. ... Solution to bridge existing care systems and apps on Google Cloud. ... No-code development ......
Read more >
Cloud Functions locations - Firebase - Google
Selecting regions based on Cloud Firestore and Cloud Storage locations. The available regions for functions do not always match precisely with the regions ......
Read more >
AWS CDK Toolkit (cdk command) - AWS Documentation
The AWS CDK Toolkit, the CLI command cdk , is the primary tool for interacting with your AWS CDK app. It executes your...
Read more >
Release Notes — Airflow Documentation
Add support for queued state in DagRun update endpoint. ... It is still possible (but not required) to “register” hooks in plugins.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found