-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dynamo definition and claim folder structure
- Loading branch information
Showing
12 changed files
with
230 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...s/upbound-aws-provider/composite-resources/databases/dynamodb/dynamodbtable-ondemand.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: awsblueprints.io/v1alpha1 | ||
kind: DynamoDBTable | ||
metadata: | ||
name: test-dynamodb-table | ||
namespace: default | ||
spec: | ||
writeConnectionSecretToRef: | ||
name: dynamo2 | ||
resourceConfig: | ||
attribute: | ||
- name: UserId | ||
type: S | ||
hashKey: UserId | ||
region: us-west-2 | ||
tags: | ||
namespace: team-x | ||
cluster: crossplane |
34 changes: 34 additions & 0 deletions
34
...vider/composite-resources/databases/dynamodb/dynamodbtable-provisioned-composite-gsi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: awsblueprints.io/v1alpha1 | ||
kind: DynamoDBTable | ||
metadata: | ||
name: test-gsi-dynamodb-table | ||
namespace: default | ||
spec: | ||
writeConnectionSecretToRef: | ||
name: dynamogsi | ||
resourceConfig: | ||
attribute: | ||
- name: UserId | ||
type: S | ||
- name: UserName | ||
type: S | ||
- name: Pass | ||
type: B | ||
billingMode: PROVISIONED | ||
globalSecondaryIndex: | ||
- hashKey: UserName | ||
name: UserNameIndex | ||
nonKeyAttributes: | ||
- UserId | ||
projectionType: INCLUDE | ||
rangeKey: Pass | ||
readCapacity: 10 | ||
writeCapacity: 10 | ||
readCapacity: 20 | ||
writeCapacity: 20 | ||
hashKey: UserId | ||
rangeKey: UserName | ||
region: us-west-2 | ||
tags: | ||
namespace: team-x | ||
cluster: crossplane |
31 changes: 31 additions & 0 deletions
31
...vider/composite-resources/databases/dynamodb/dynamodbtable-provisioned-composite-lsi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: awsblueprints.io/v1alpha1 | ||
kind: DynamoDBTable | ||
metadata: | ||
name: test-lsi2-dynamodb-table | ||
namespace: default | ||
spec: | ||
writeConnectionSecretToRef: | ||
name: dynamolsi | ||
resourceConfig: | ||
attribute: | ||
- name: Artist | ||
type: S | ||
- name: SongTitle | ||
type: S | ||
- name: AlbumTitle | ||
type: S | ||
billingMode: PROVISIONED | ||
localSecondaryIndex: | ||
- name: AlbumTitleIndex | ||
nonKeyAttributes: | ||
- Genre | ||
projectionType: INCLUDE | ||
rangeKey: AlbumTitle | ||
readCapacity: 20 | ||
writeCapacity: 20 | ||
hashKey: Artist | ||
rangeKey: SongTitle | ||
region: us-west-2 | ||
tags: | ||
namespace: team-x | ||
cluster: crossplane |
23 changes: 23 additions & 0 deletions
23
...-provider/composite-resources/databases/dynamodb/dynamodbtable-provisioned-composite.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: awsblueprints.io/v1alpha1 | ||
kind: DynamoDBTable | ||
metadata: | ||
name: test-pro-dynamodb-table | ||
namespace: default | ||
spec: | ||
writeConnectionSecretToRef: | ||
name: dynamopc | ||
resourceConfig: | ||
attribute: | ||
- name: UserId | ||
type: S | ||
- name: UserName | ||
type: S | ||
billingMode: PROVISIONED | ||
readCapacity: 2 | ||
writeCapacity: 2 | ||
hashKey: UserId | ||
rangeKey: UserName | ||
region: us-west-2 | ||
tags: | ||
namespace: team-x | ||
cluster: crossplane |
Oops, something went wrong.