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

deploy fails. waiter timeout #2474

Open
blinkdaffer opened this issue Apr 18, 2024 · 5 comments
Open

deploy fails. waiter timeout #2474

blinkdaffer opened this issue Apr 18, 2024 · 5 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists Gen 2 transferred

Comments

@blinkdaffer
Copy link

blinkdaffer commented Apr 18, 2024

Environment information

System:
  OS: macOS 13.3.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 192.69 MB / 16.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.10.0 - /usr/local/bin/node
  Yarn: 1.22.19 - /opt/homebrew/bin/yarn
  npm: 10.2.4 - /opt/homebrew/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/backend: 0.13.0-beta.18
  @aws-amplify/backend-cli: 0.12.0-beta.20
  aws-amplify: 6.0.17
  aws-cdk: 2.133.0
  aws-cdk-lib: 2.133.0
  typescript: 5.3.3
AWS environment variables:
  AWS_SDK_LOAD_CONFIG = 1
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
No CDK environment variables

Description

When attempting to deploy a build, I encounter a failure related to a nested stack within AWS CloudFormation. The error message received is:

"Embedded stack arn:aws:cloudformation:us-east-1:7XXX was not successfully created: The following resource(s) failed to create: [amplifyDataCompanyNestedStackCompanyNestedStackResource1A74F86D]."

image

 Iteration: a
      .model({
        companyId: a.id(),
        type: a.string(),

        company: a.belongsTo("Company", "companyId"),
      })
      .authorization([a.allow.multipleOwners()]),
  Company: a
      .model({
        companyName: a.string(),
        companyBackground: a.string(),
        iterations: a.hasMany("Iteration", "companyId"),
        members: a.string().array(),

      })
      .authorization([a.allow.multipleOwners().inField("members")]),
      
      ```
@blinkdaffer blinkdaffer changed the title Build fails deploy fails. waiter timeout Apr 18, 2024
@edwardfoyle
Copy link
Member

Hi @blinkdaffer, was this a transient failure or is it happening consistently?

@blinkdaffer
Copy link
Author

transient failure i would say, managed to deploy once but failed on other tries, currently same build is deploying on windows just fine

windows machine info

System:
  OS: Windows 10 10.0.19045
  CPU: (4) x64 Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz 
  Memory: 530.69 MB / 7.86 GB
Binaries:
  Node: 18.17.1 - C:\Program Files\nodejs\node.EXE       
  Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
  pnpm: 8.15.3 - ~\AppData\Local\pnpm\pnpm.EXE
NPM Packages:
  @aws-amplify/backend: 0.13.0-beta.18
  @aws-amplify/backend-cli: 0.12.0-beta.20
  aws-amplify: 6.0.17
  aws-cdk: 2.133.0
  aws-cdk-lib: 2.133.0
  typescript: 5.3.3
AWS environment variables:
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
  AWS_STS_REGIONAL_ENDPOINTS = regional

mac info * doesnt deploy here

System:
OS: macOS 13.3.1
CPU: (8) arm64 Apple M1 Pro
Memory: 192.69 MB / 16.00 GB
Shell: /bin/zsh
Binaries:
Node: 20.10.0 - /usr/local/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.2.4 - /opt/homebrew/bin/npm
pnpm: undefined - undefined
NPM Packages:
@aws-amplify/backend: 0.13.0-beta.18
@aws-amplify/backend-cli: 0.12.0-beta.20
aws-amplify: 6.0.17
aws-cdk: 2.133.0
aws-cdk-lib: 2.133.0
typescript: 5.3.3
AWS environment variables:
AWS_SDK_LOAD_CONFIG = 1
AWS_STS_REGIONAL_ENDPOINTS = regional
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
No CDK environment variables

@edwardfoyle
Copy link
Member

Thanks for the extra info! I'm going to transfer this to the api repo. They should be able to help more with this issue.

@edwardfoyle edwardfoyle transferred this issue from aws-amplify/amplify-backend Apr 18, 2024
@blinkdaffer
Copy link
Author

any suggestions on this issue

@AnilMaktala
Copy link

Hey @blinkdaffer, Thank you for raising this. This issue seems to be a duplicate of #2189 .

@AnilMaktala AnilMaktala added bug Something isn't working duplicate This issue or pull request already exists labels Apr 19, 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 duplicate This issue or pull request already exists Gen 2 transferred
Projects
None yet
Development

No branches or pull requests

4 participants