Skip to content

Instantly share code, notes, and snippets.

@marcoETmx
Last active January 5, 2023 02:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcoETmx/a6e4edf43be820b34f9bbe8ffa89f4d0 to your computer and use it in GitHub Desktop.
Save marcoETmx/a6e4edf43be820b34f9bbe8ffa89f4d0 to your computer and use it in GitHub Desktop.
Deplegando una base de datos DynamoDB en AWS con infraestructura como código
AWSTemplateFormatVersion: 2010-09-09
Parameters:
DynamoAtributo:
Type: String
NombreDynamo:
Type: String
Resources:
DynamodesdeCero:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: !Ref DynamoAtributo
AttributeType: S
KeySchema:
- AttributeName: !Ref DynamoAtributo
KeyType: HASH
BillingMode: PAY_PER_REQUEST
SSESpecification:
SSEEnabled: True
TableName: !Ref NombreDynamo
Outputs:
NombreDynamo:
Value: !Ref DynamodesdeCero
Export:
Name: NombreDynamo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment