I'm trying to create a Cloud Formation stack that makes a DynamoDB table. I'm just using a sample template provided by AWS.
response = cf.create_stack(
StackName = stack_name,
TemplateURL = 'https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/DynamoDB_Table.template',
Parameters=[
{
'ParameterKey': 'AudioFiles',
'ParameterValue': 'string',
},
],
TimeoutInMinutes=123,
ResourceTypes=[
'AWS::DynamoDB::Table',
],
OnFailure='DO_NOTHING',
EnableTerminationProtection=True
)
It's returning this error:
An error occurred (ValidationError) when calling the CreateStack operation: Parameters: [HashKeyElementName] must have values
I have tried providing a value for this parameter in the parameters section but this won't work.