Skip to content

Commit

Permalink
feature #3 - Create dynamo table
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeniosales committed Oct 15, 2022
1 parent 1feb14c commit 8a4a53f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/dynamodb.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resource "aws_dynamo_table" "exchange-rate" {
name = "ExchangeRate"
billing_mode = "PAY_PER_REQUEST"
hash_key = "baseCurrency"

attribute {
name = "baseCurrency"
type = "S"
}
}

0 comments on commit 8a4a53f

Please sign in to comment.