Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(infra): Fix the cog batch job to put record to dynamodb. #2197

Merged
merged 3 commits into from
May 17, 2022

Conversation

Wentao-Kuang
Copy link
Contributor

This should fix the following problems, when insert and update records to dynamodb.

image
image

@Wentao-Kuang Wentao-Kuang requested a review from a team as a code owner May 16, 2022 22:24
@@ -29,7 +29,7 @@ export const TileMetadataTableArn = {
return cdk.Arn.format(
{
service: 'dynamodb',
region: '*',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think this will fix the problem, this was to allow other regions to write to dynamodb

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I need to have a look what cause the problem. Just don't how to test this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is it coming from, do you have the bundled index.js to see the stack trace?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, That's what I am thinking to get a bundle index.js first.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
This the place of error, I can't find where is the place to using this.
However, I am sure ti broke at the place for puting item to dynamodb.

@kodiakhq kodiakhq bot merged commit 3c89246 into master May 17, 2022
@kodiakhq kodiakhq bot deleted the fix/batch-premission branch May 17, 2022 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants