amplify-category-api
amplify-category-api copied to clipboard
deploy fails. waiter timeout
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]."
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")]),
```
Hi @blinkdaffer, was this a transient failure or is it happening consistently?
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
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.
any suggestions on this issue
Hey @blinkdaffer, Thank you for raising this. This issue seems to be a duplicate of #2189 .
We are closing this issue in favor of #2189. Please refer to that issue for future updates.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.