Skip to content

Commit e5e520f

Browse files
authored
Merge pull request #2185 from ulucinar/dynamodb-mrsc-streaming-v6.55.0
Propagate DynamoDB Stream Configuration to Replicas
2 parents fa9b51a + fbbc619 commit e5e520f

18 files changed

Lines changed: 198 additions & 7 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PROJECT_REPO := github.com/upbound/$(PROJECT_NAME)/v2
1212

1313
export TERRAFORM_VERSION := 1.5.5
1414
export TERRAFORM_PROVIDER_VERSION := 6.55.0
15-
export TERRAFORM_PROVIDER_RELEASE := v$(TERRAFORM_PROVIDER_VERSION)-upjet.2
15+
export TERRAFORM_PROVIDER_RELEASE := v$(TERRAFORM_PROVIDER_VERSION)-upjet.3
1616
export TERRAFORM_PROVIDER_SOURCE := hashicorp/aws
1717
export TERRAFORM_PROVIDER_REPO ?= https://github.com/hashicorp/terraform-provider-aws
1818
export TERRAFORM_DOCS_PATH ?= website/docs/r

apis/cluster/dynamodb/v1beta1/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/cluster/dynamodb/v1beta1/zz_table_types.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/cluster/dynamodb/v1beta2/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/cluster/dynamodb/v1beta2/zz_table_types.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/namespaced/dynamodb/v1beta1/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/namespaced/dynamodb/v1beta1/zz_table_types.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
# MREC (multi-Region eventual consistency) global table; AWS auto-enables
6+
# a synchronized stream on each replica (NEW_AND_OLD_IMAGES required).
7+
apiVersion: dynamodb.aws.upbound.io/v1beta2
8+
kind: Table
9+
metadata:
10+
annotations:
11+
meta.upbound.io/example-id: dynamodb/v1beta2/table
12+
uptest.upbound.io/timeout: "1200"
13+
name: example-${Rand.RFC1123Subdomain}
14+
spec:
15+
forProvider:
16+
region: us-east-1
17+
billingMode: PAY_PER_REQUEST
18+
hashKey: id
19+
attribute:
20+
- name: id
21+
type: S
22+
streamEnabled: true
23+
streamViewType: NEW_AND_OLD_IMAGES
24+
replica:
25+
- regionName: us-east-2
26+
consistencyMode: EVENTUAL
27+
- regionName: us-west-2
28+
consistencyMode: EVENTUAL
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
# MRSC global table with Streams; enabling streamEnabled propagates a
6+
# stream to every STRONG replica Region (Linear TRI-128).
7+
apiVersion: dynamodb.aws.upbound.io/v1beta2
8+
kind: Table
9+
metadata:
10+
annotations:
11+
meta.upbound.io/example-id: dynamodb/v1beta2/table
12+
uptest.upbound.io/timeout: "1200"
13+
name: example-${Rand.RFC1123Subdomain}
14+
spec:
15+
forProvider:
16+
region: us-east-1
17+
billingMode: PAY_PER_REQUEST
18+
hashKey: id
19+
attribute:
20+
- name: id
21+
type: S
22+
streamEnabled: true
23+
streamViewType: NEW_AND_OLD_IMAGES
24+
replica:
25+
- regionName: us-east-2
26+
consistencyMode: STRONG
27+
- regionName: us-west-2
28+
consistencyMode: STRONG

0 commit comments

Comments
 (0)