A tutorial for developers that want to learn about how to build modern applications on top of AWS. You will build a sample website that leverages infrastructure as code, containers, serverless code functions, CI/CD, and more.
Currently trying to add the populate-dynamodb.json to the table I created in DynamoDB. For context I am running this project locally on my machine from studio code. I am using the following command:
Error parsing parameter '--request-items': Unable to load paramfile (b:/cloned repos/module-3/aws-cli/populate-dynamodb.json),
text contents could not be decoded. If this is a binary file, please use the fileb:// prefix instead of the file:// prefix.
When I apply the recommended fix above and run the CLI again I get the following:
Currently trying to add the populate-dynamodb.json to the table I created in DynamoDB. For context I am running this project locally on my machine from studio code. I am using the following command:
Input:
aws dynamodb batch-write-item --region us-east-1 --request-items file://b:/'cloned repos'/module-3/aws-cli/populate-dynamodb.json
Output:
Error parsing parameter '--request-items': Unable to load paramfile (b:/cloned repos/module-3/aws-cli/populate-dynamodb.json), text contents could not be decoded. If this is a binary file, please use the fileb:// prefix instead of the file:// prefix.
When I apply the recommended fix above and run the CLI again I get the following:
Input:
aws dynamodb batch-write-item --region us-east-1 --request-items fileb://b:/'cloned repos'/module-3/aws-cli/populate-dynamodb.json
Output:
'in' requires string as left operand, not int
I have not done any changes to the populate-dynamodb.json