mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-08-30 06:00:43 +02:00
aws dynamodb operator_info table
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
resource "aws_dynamodb_table" "operator_info" {
|
||||
name = var.module_name
|
||||
billing_mode = "PAY_PER_REQUEST"
|
||||
hash_key = "wikidataId"
|
||||
|
||||
attribute {
|
||||
name = "wikidataId"
|
||||
type = "S"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
output "dynamodb_table_name" {
|
||||
description = "The name of the DynamoDB table"
|
||||
value = aws_dynamodb_table.operator_info.name
|
||||
}
|
||||
|
||||
output "dynamodb_table_arn" {
|
||||
description = "The ARN of the DynamoDB table"
|
||||
value = aws_dynamodb_table.operator_info.arn
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
variable "module_name" {
|
||||
description = "Name of the module"
|
||||
}
|
||||
Reference in New Issue
Block a user