-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Open
Copy link
Labels
Description
How did you install the Amplify CLI?
npm install --no-save @aws-amplify/cli-internal-gen2-migration-experimental-alpha
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
0.6.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
When a Gen1 environment has a DynamoDB table in the storage category, we generate:
const activity = new Table(stack, 'Activity', { partitionKey: { name: 'id', type: STRING }}, ...);All this code is placed in a single line and is hard to read and maintain.
Expected behavior
We should generate multi line code:
const activity = new Table(stack, 'Activity', {
partitionKey: { name: 'id', type: STRING }},
...
);Reproduction steps
Follow the discussions app migration guide.
Project Identifier
No response
Log output
Details
# Put your logs below this line
Additional information
No response
Before submitting, please confirm:
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
Reactions are currently unavailable