Unable to identify DynamoDB tables in the sandbox environment for each user
Environment information
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M2
Memory: 173.20 MB / 24.00 GB
Shell: /bin/zsh
Binaries:
Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v20.9.0/bin/yarn
npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
pnpm: 8.11.0 - ~/.nvm/versions/node/v20.9.0/bin/pnpm
NPM Packages:
@aws-amplify/backend: 1.0.2
@aws-amplify/backend-cli: 1.0.3
aws-amplify: 6.3.4
aws-cdk: 2.143.0
aws-cdk-lib: 2.143.0
typescript: 5.4.5
AWS environment variables:
AWS_STS_REGIONAL_ENDPOINTS = regional
AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables
Description
All table names created have a NONE suffix, so if you create a sandbox for each user in the same AWS account, they will not be identifiable.
A table named TODO-<appsync-api-id>-NONE would be created as follows.
Here is the schema I created.
const schema = a.schema({
Todo: a
.model({
id: a.string(),
content: a.string(),
})
.authorization((allow) => [allow.guest()]),
});
Hey👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂
I agree, better naming would be great.
Hi @kita3222, Thanks for raising this. We are marking this as a feature request for the team to evaluate further.
@kita3222 - The DynamoDB tables should have tags based on your sandbox identifier. Will that solve your problem to differentiate the tables created by different users?
Is there any update on this one so far?
Would appreciate it if there is an update on this from the team....
@kita3222 - The DynamoDB tables should have tags based on your sandbox identifier. Will that solve your problem to differentiate the tables created by different users?
That would be enough for me.
BTW, any updates on this?
this still hasn't been done! this is such an unusable product, what a shame!!!!! shame on the entire aws team for this!!!
Was thinking wtf am I doing. But it seems real, sadly