Skip to content

Conversation

forevermatt
Copy link
Contributor

Added

  • Add new Global Table for API Keys (with replica region defaulting to us-west-2)

Fixed

  • Allow the functions to access the DynamoDB tables in any region
  • Add the necessary permissions for creating a Global Table
    • NOTE: You will have to run a terraform plan/apply to grant the necessary AWS permissions before the Serverless deploy command will succeed.

forevermatt and others added 12 commits May 22, 2023 14:37
This should make our eventual move to us-east-2 (as our new primary
region) easier, since I don't think we can _move_ a GlobalTable's stack
after creating it.
…lobal-table

Stop hard-coding a different region for the GlobalTable
…-for-creating-table

Add the necessary permissions for creating a Global Table
I don't know whether we use this at all, but in case the way we back up
the data uses the stream, I set it to send the new value.

Documentation is here:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-streamspecification.html
…egion-to-global-table

Add secondary region to API Keys GlobalTable
@forevermatt forevermatt requested review from a team May 24, 2023 20:52
@forevermatt forevermatt merged commit 09dd725 into master May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants