Skip to content

[DynamoDB] Enable deletionProtectionEnabled, tags, and contributorInsights on table replicasΒ #2650

@vishalkatikineni

Description

@vishalkatikineni

Describe the bug
With global tables some of the configuration parameters like deletionProtectionEnabled, tags, and contributorInsights are not propagated to the replica tables.

Steps to reproduce

apiVersion: dynamodb.services.k8s.aws/v1alpha1
kind: Table
metadata:
  name: example-global
spec:
  attributeDefinitions:
  - attributeName: PK
    attributeType: S
  - attributeName: SK
    attributeType: S
  billingMode: PAY_PER_REQUEST
  continuousBackups:
    pointInTimeRecoveryEnabled: true
  contributorInsights: ENABLE
  deletionProtectionEnabled: true
  keySchema:
  - attributeName: PK
    keyType: HASH
  - attributeName: SK
    keyType: RANGE
  streamSpecification:
    streamEnabled: true
    streamViewType: NEW_AND_OLD_IMAGES
  tableClass: STANDARD
  tableName: example-global
  tableReplicas:
  - regionName: us-west-2
  tags:
  - key: Environment
    value: Dev

Expected outcome
Expectation is the same configuration parameters to be applied to the replica tables when global tables is enabled.

Environment
Production

  • Kubernetes version -- v1.31.12
  • Using EKS (yes/no), if so version?
  • AWS service targeted (S3, RDS, etc.) -- DynamoDB

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions