Skip to content

aws dynamodb create-table failed with System.ArgumentOutOfRangeException #4492

@UrmaGurd

Description

@UrmaGurd

Ran this command that was previously working in powershell. It does create the table, but a lot of strange errors.
Describing the table shows it created correctly.

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeNam

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
Enter Space Space Space Space Space Space Space Space A t t r i b u t e N a m e = d u m p F i l e U r l , A t t r i b u t e T y p e = S Space Enter
Space Space Space Space - - k e y - s c h e m a Space Enter Space Space Space Space Space Space Space Space A t t r i b u t e N a m e = a c c o u n t I d , K e y T y p e = H A S H Space Enter
Space Space Space Space Space Space Space Space A t t r i b u t e N a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-th

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
n t I d , K e y T y p e = H A S H Space Enter Space Space Space Space Space Space Space Space A t t r i b u t e N a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter
Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter
Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space ` Enter
Space Space Space Space - - o u t p u t Space t e x t Space -

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -2.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--out

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.Tab

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.Tabl

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.Table

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableS

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableSt

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableSta

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableStat

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableStatu

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableStatus

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys:
a m e = d u m p F i l e U r l , K e y T y p e = R A N G E Space Enter Space Space Space Space - - p r o v i s i o n e d - t h r o u g h p u t Space Enter
Space Space Space Space Space Space Space Space R e a d C a p a c i t y U n i t s = 5 , W r i t e C a p a c i t y U n i t s = 5 Space Enter Space Space Space Space - - t a b l e - c l a s s Space S T A N D A R D Space Enter
Space Space Space Space - - o u t p u t Space t e x t Space - - q u e r y Space ' T a b l e D e s c r i p t i o n . T a b l e S t a t u s ' Enter

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -5.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb create-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory" `
--attribute-definitions `
    AttributeName=accountId,AttributeType=S `
    AttributeName=dumpFileUrl,AttributeType=S `
--key-schema `
--key-schema `
--key-schema `
--key-schema `
--key-schema `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
--key-schema `
--key-schema `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
--key-schema `
--key-schema `
--key-schema `
--key-schema `
--key-schema `
    AttributeName=accountId,KeyType=HASH `
    AttributeName=dumpFileUrl,KeyType=RANGE `
--provisioned-throughput `
    ReadCapacityUnits=5,WriteCapacityUnits=5 `
--table-class STANDARD `
--output text --query 'TableDescription.TableStatus'

CREATING

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless> aws dynamodb describe-table `

--profile hermes-cross-account-deploy-user-int `
--table-name "pg-backup-inventory"

{
"Table": {
"AttributeDefinitions": [
{
"AttributeName": "accountId",
"AttributeType": "S"
},
{
"AttributeName": "dumpFileUrl",
"AttributeType": "S"
}
],
"TableName": "pg-backup-inventory",
"KeySchema": [
{
"AttributeName": "accountId",
"KeyType": "HASH"
},
{
"AttributeName": "dumpFileUrl",
"KeyType": "RANGE"
}
],
"TableStatus": "ACTIVE",
"CreationDateTime": "2025-02-12T12:34:09.565000+00:00",
"ProvisionedThroughput": {
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
},
"TableSizeBytes": 0,
"ItemCount": 0,
"TableArn": "arn:aws:dynamodb:eu-west-2:967422810761:table/pg-backup-inventory",
"TableId": "d4760b05-9e74-4baf-8ff4-bbd908324013",
"TableClassSummary": {
"TableClass": "STANDARD"
},
"DeletionProtectionEnabled": false
}
}

PS C:\project_files\Scripts\ps\Example-PGDump-S3-Serverless>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions