Skip to content

Invalid Logging Configuration when DynamoDB Replica creation #28666

Answered by eliabrio
racorrea asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @racorrea,

Had the same issue.

Solved it by using the class dynamodb.TableV2 instead of dynamodb.Table . The change in my case was rather minimal, from

        self.batch_table = dynamodb.Table(
            self, "GlobalTable",
            table_name=f"{stage_name}_global_table",
            partition_key=dynamodb.Attribute(
                name="global_table",
                type=dynamodb.AttributeType.STRING
            ),
            sort_key = dynamodb.Attribute(
                name="sort_key",
                type=dynamodb.AttributeType.STRING
            ),
            billing_mode=dynamodb.BillingMode.PAY_PER_REQUEST,
            removal_policy=RemovalPolicy.RETAIN if is_produ…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by racorrea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants