Terraform Remote Backend State Locking using S3 and DynamoDB || Terraform -10

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I am getting this error can you pls help I am not understanding why I am getting this error

Error: Error: Error acquiring the state lock

│ Error message: operation error DynamoDB: PutItem, https response error StatusCode: 400, RequestID: VO5MU0P271279PGLUTJTIB94MVVV4KQNSO5AEMVJF66Q9ASUA, api error
│ ValidationException: One or more parameter values were invalid: Missing the key LOCKID in the item
│ Unable to retrieve item from DynamoDB table "terraformlock": operation error DynamoDB: GetItem, https response error StatusCode: 400, RequestID:
│ MCNGOTH1KS4JNS1IE03E4BIQQJVV4KQNSO5AEMVJF66Q9ASJG, api error ValidationException: The provided key element does not match the schema

│ Terraform acquires a state lock to protect the state from being written
│ by multiple users at the same time. Please resolve the issue above and try
│ again. For most commands, you can disable locking with the "-lock=false"
│ flag, but this is not recommended.

shivacva