Skip to content

Commit

Permalink
[sdlf-foundations][cdk] replace octagon with sdlf in dynamo table name
Browse files Browse the repository at this point in the history
  • Loading branch information
cnfait committed Oct 24, 2024
1 parent 794a8e5 commit 9fa5bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdlf-foundations/src/foundations.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def __init__(self, scope: Construct, id: str, **kwargs) -> None:
service="dynamodb",
resource="table",
arn_format=ArnFormat.SLASH_RESOURCE_NAME,
resource_name="octagon-*",
resource_name="sdlf-*",
)
],
),
Expand Down Expand Up @@ -622,14 +622,14 @@ def __init__(self, scope: Construct, id: str, **kwargs) -> None:
######## DYNAMODB #########
objectmetadata_table = ddb.Table(
self,
"rDynamoOctagonObjectMetadata",
"rDynamoObjectMetadata",
removal_policy=RemovalPolicy.DESTROY,
partition_key=ddb.Attribute(
name="id",
type=ddb.AttributeType.STRING,
),
billing_mode=ddb.BillingMode.PAY_PER_REQUEST,
table_name=f"octagon-ObjectMetadata",
table_name=f"sdlf-ObjectMetadata",
stream=ddb.StreamViewType.NEW_AND_OLD_IMAGES,
encryption=ddb.TableEncryption.CUSTOMER_MANAGED,
encryption_key=self.kms_key,
Expand Down

0 comments on commit 9fa5bac

Please sign in to comment.