You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup produces an error, if I do not explicitly set an environment I want to deploy to.
I guess this is totally fine, but it's described in the documentation.
Reproduction Steps
Follow the setup instructions in the readme to the npx cdk deploy step.
What did you expect to happen?
The docs should tell me about the need to set the environment.
What actually happened?
npx cdk deploy
Cannot retrieve value from context provider hosted-zone since account/region are not specified at the stack level. Either configure "env" with explicit account and region when you define your stack, or use the environment variables "CDK_DEFAULT_ACCOUNT" and "CDK_DEFAULT_REGION" to inherit environment information from the CLI (not recommended for production stacks)
Environment
CDK CLI Version: 1.89.0 (build df7253c)
Version: 0.1.7
Node.js Version: v14.10.1
OS : Mac OS
Language (Version): TypeScript (4.1.5)
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
The setup produces an error, if I do not explicitly set an environment I want to deploy to.
I guess this is totally fine, but it's described in the documentation.
Reproduction Steps
Follow the setup instructions in the readme to the
npx cdk deploy
step.What did you expect to happen?
The docs should tell me about the need to set the environment.
What actually happened?
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: