Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDK warnings print twice in sandbox #1916

Open
josefaidt opened this issue Aug 26, 2024 · 1 comment
Open

CDK warnings print twice in sandbox #1916

josefaidt opened this issue Aug 26, 2024 · 1 comment
Labels
bug Something isn't working sandbox Related to the sandbox experience

Comments

@josefaidt
Copy link
Contributor

Environment information

System:
  OS: macOS 14.6.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 133.30 MB / 32.00 GB
  Shell: /opt/homebrew/bin/fish
Binaries:
  Node: 20.16.0 - ~/.local/state/fnm_multishells/85211_1724692313979/bin/node
  Yarn: undefined - undefined
  npm: 10.8.1 - ~/.local/state/fnm_multishells/85211_1724692313979/bin/npm
  pnpm: 9.7.0 - ~/.local/state/fnm_multishells/85211_1724692313979/bin/pnpm
NPM Packages:
  @aws-amplify/auth-construct: Not Found
  @aws-amplify/backend: 1.1.1
  @aws-amplify/backend-auth: Not Found
  @aws-amplify/backend-cli: 1.2.5
  @aws-amplify/backend-data: Not Found
  @aws-amplify/backend-deployer: Not Found
  @aws-amplify/backend-function: Not Found
  @aws-amplify/backend-output-schemas: Not Found
  @aws-amplify/backend-output-storage: Not Found
  @aws-amplify/backend-secret: Not Found
  @aws-amplify/backend-storage: Not Found
  @aws-amplify/cli-core: Not Found
  @aws-amplify/client-config: Not Found
  @aws-amplify/deployed-backend-client: Not Found
  @aws-amplify/form-generator: Not Found
  @aws-amplify/model-generator: Not Found
  @aws-amplify/platform-core: Not Found
  @aws-amplify/plugin-types: Not Found
  @aws-amplify/sandbox: Not Found
  @aws-amplify/schema-generator: Not Found
  aws-amplify: 6.5.2
  aws-cdk: 2.154.1
  aws-cdk-lib: 2.154.1
  typescript: 5.5.4
AWS environment variables:
  AWS_PROFILE = josef
  AWS_REGION = us-east-1
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables
npm notice
npm notice New patch version of npm available! 10.8.1 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g [email protected]
npm notice

Description

when warnings are printed at the beginning of sandbox they are printed twice

➜  p ampx sandbox --once
  
  Amplify Sandbox
  
  Identifier:   josef
  Stack:        amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39
  
  To specify a different sandbox identifier, use --identifier
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/auth] Be aware that the NodeJS runtime of Node 16 will be deprecated by Lambda on June 12, 2024. Lambda runtimes Node 18 and higher include SDKv3 and not SDKv2. Updating your Lambda runtime will require bundling the SDK, or updating all SDK calls in your handler code to use SDKv3 (which is not a trivial update). Please account for this added complexity and update as soon as possible. [ack: aws-cdk-lib/aws-lambda-nodejs:runtimeUpdateSdkV2Breakage]
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @predictions is deprecated. This functionality will be removed in the next major release.
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @manyToMany is deprecated. This functionality will be removed in the next major release.
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @searchable is deprecated. This functionality will be removed in the next major release.

[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/auth] Be aware that the NodeJS runtime of Node 16 will be deprecated by Lambda on June 12, 2024. Lambda runtimes Node 18 and higher include SDKv3 and not SDKv2. Updating your Lambda runtime will require bundling the SDK, or updating all SDK calls in your handler code to use SDKv3 (which is not a trivial update). Please account for this added complexity and update as soon as possible. [ack: aws-cdk-lib/aws-lambda-nodejs:runtimeUpdateSdkV2Breakage]
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @predictions is deprecated. This functionality will be removed in the next major release.
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @manyToMany is deprecated. This functionality will be removed in the next major release.
[Warning at /amplify-reproamplifygen2circulardepsssmparams-josef-sandbox-037bf65d39/data/amplifyData/GraphQLAPI] @searchable is deprecated. This functionality will be removed in the next major release.
@josefaidt josefaidt added the pending-triage Incoming issues that need categorization label Aug 26, 2024
@ykethan
Copy link
Member

ykethan commented Aug 26, 2024

Marking as bug.

image

@ykethan ykethan added bug Something isn't working sandbox Related to the sandbox experience and removed pending-triage Incoming issues that need categorization labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sandbox Related to the sandbox experience
Projects
None yet
Development

No branches or pull requests

3 participants
@josefaidt @ykethan and others