Receiving error "Missing the key LockID in the item" from github-action-atmos-terraform-plan #47
Answered
by
milldr
Maciej-Gadomski
asked this question in
Free Tier Support
-
Hello, during execution of github-action-atmos-terraform-plan, I receive "Missing the key LockID in the item" error message which comes from github-action-terraform-plan-storage. Plan file was successfully stored in s3 and then dynamo error appear. Any ideas? name: Plan Atmos Component
uses: cloudposse/github-action-atmos-terraform-plan@v4
with:
component: ${{ matrix.component }}
stack: ${{ matrix.stack }}
atmos-config-path: .
atmos-version: 1.165.2 |
Beta Was this translation helpful? Give feedback.
Answered by
milldr
Mar 17, 2025
Replies: 1 comment 6 replies
-
This error is likely an indicator that the DynamoDB table is misconfigured. Do you have See these docs for reference: https://atmos.tools/integrations/github-actions/#atmos-configuration |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will need to create the global secondary index "pr-createdAt-index" so that the action can query the latest plan file for a given PR.
Please see this configuration for reference: https://atmos.tools/integrations/github-actions/#dynamodb-table