provider-aws
provider-aws copied to clipboard
Enable DynamoDB TTL
What problem are you facing?
I have defined a DynamoDB Table using the Crossplane documentation. I would like to enable TTL based on a certain attribute as per the AWS documentation. I have provided my YAML below, for reference.
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: testTable
spec:
deletionPolicy: Orphan
forProvider:
attributeDefinitions:
- attributeName: testCol
attributeType: S
keySchema:
- attributeName: testCol
keyType: HASH
provisionedThroughput:
readCapacityUnits: 1
writeCapacityUnits: 1
region: eu-west-1
tags:
- key: environment
value: dev
- key: provisionedBy
value: Crossplane
How could Crossplane help solve your problem?
Please could you add an attribute to the Table custom resource which allows TTL to be enabled and allows the user to specify which column the TTL should be measured against. I believe this may be achieved using this API call.
It seems that this property isn't included in the creation or update calls, so we'd need to add it manually instead of relying on ACK to generate it. The field would go to here and update calls would need to be updated here.
@JasP19 would you be interested in contributing this feature?
+1
We would also like this
+1
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale
because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
/fresh