Repository navigation
feat: DynamoDB single-table Terraform module with 5 GSIs - #64
Merged
Merged
Conversation
- Create single_table module with composite key design: - PK/SK as main access pattern - GSI1: UUID-based lookups (Certificate by ID) - GSI2: Email-based access (Orders, Certificates, Participants) - GSI3: Product-based access (Products, Certificates, Orders) - GSI4: Success flag access (successful certificates) - GSI5: City-based access (Participants) - Update dev environment to use single_table module - Replace 4 separate DynamoDB tables with single table design
bentoluizv
previously approved these changes
Sep 7, 2026
bentoluizv
reviewed
Sep 7, 2026
bentoluizv
left a comment
Contributor
There was a problem hiding this comment.
O outputs.tf não foi atualizado junto — ainda referencia os quatro módulos que esse PR removeu do main.tf. Rodei terraform validate no head da branch e dá 8 erros de "Reference to undeclared module", nas linhas 15, 20, 26, 31, 37, 42, 48 e 53. Precisa remover esses outputs ou apontar pro module.dynamodb_single_table.
- Remove GSI5 (city-based access for participants) - Update outputs.tf to reference dynamodb_single_table module - Fix terraform validate errors (8 module reference errors) - Update comments to reflect actual GSI usage
maxsonferovante
force-pushed
the
feature/single-table-dynamodb
branch
from
November 7, 2026 01:38
5a20eb4 to
7a9019d
Compare
Terraform Plan (dev)Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
Terraform will perform the following actions:
# module.certificates_table.aws_dynamodb_table.certificates will be destroyed
# (because aws_dynamodb_table.certificates is not in configuration)
- resource "aws_dynamodb_table" "certificates" {
- arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev" -> null
- billing_mode = "PAY_PER_REQUEST" -> null
- deletion_protection_enabled = false -> null
- hash_key = "order_id" -> null
- id = "tech-floripa-certificates-certificates-dev" -> null
- name = "tech-floripa-certificates-certificates-dev" -> null
- read_capacity = 0 -> null
- region = "us-east-1" -> null
- stream_enabled = false -> null
- table_class = "STANDARD" -> null
- tags = {
- "CostCenter" = "low-cost"
- "Entity" = "Certificate"
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-certificates-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "CostCenter" = "low-cost"
- "Entity" = "Certificate"
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-certificates-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- write_capacity = 0 -> null
# (3 unchanged attributes hidden)
- attribute {
- name = "id" -> null
- type = "S" -> null
}
- attribute {
- name = "order_id" -> null
- type = "N" -> null
}
- attribute {
- name = "participant_email" -> null
- type = "S" -> null
}
- attribute {
- name = "participant_email_product_key" -> null
- type = "S" -> null
}
- attribute {
- name = "product_id" -> null
- type = "N" -> null
}
- attribute {
- name = "success_flag" -> null
- type = "N" -> null
}
- global_secondary_index {
- hash_key = "id" -> null
- name = "certificate_id_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
# (1 unchanged attribute hidden)
}
- global_secondary_index {
- hash_key = "participant_email" -> null
- name = "certificates_by_email_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "participant_email_product_key" -> null
- name = "certificates_by_email_product_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "product_id" -> null
- name = "certificates_by_product_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "success_flag" -> null
- name = "certificates_by_success_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- point_in_time_recovery {
- enabled = false -> null
- recovery_period_in_days = 0 -> null
}
- server_side_encryption {
- enabled = true -> null
- kms_key_arn = "arn:aws:kms:us-east-1:334318883918:key/bb0ff81e-9dac-43c3-998d-0abd7b149bec" -> null
}
- ttl {
- enabled = false -> null
# (1 unchanged attribute hidden)
}
}
# module.dynamodb_single_table.aws_dynamodb_table.single_table will be created
+ resource "aws_dynamodb_table" "single_table" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ hash_key = "PK"
+ id = (known after apply)
+ name = "tech-floripa-certificates-dev"
+ range_key = "SK"
+ read_capacity = (known after apply)
+ region = "us-east-1"
+ stream_arn = (known after apply)
+ stream_label = (known after apply)
+ stream_view_type = (known after apply)
+ tags = {
+ "CostCenter" = "low-cost"
+ "Design" = "SingleTable"
+ "Environment" = "dev"
+ "Name" = "tech-floripa-certificates-dev"
+ "Project" = "tech-floripa-certificates"
}
+ tags_all = {
+ "CostCenter" = "low-cost"
+ "Design" = "SingleTable"
+ "Environment" = "dev"
+ "ManagedBy" = "terraform"
+ "Name" = "tech-floripa-certificates-dev"
+ "Project" = "tech-floripa-certificates"
}
+ write_capacity = (known after apply)
+ attribute {
+ name = "GSI1PK"
+ type = "S"
}
+ attribute {
+ name = "GSI1SK"
+ type = "S"
}
+ attribute {
+ name = "GSI2PK"
+ type = "S"
}
+ attribute {
+ name = "GSI2SK"
+ type = "S"
}
+ attribute {
+ name = "GSI3PK"
+ type = "S"
}
+ attribute {
+ name = "GSI3SK"
+ type = "S"
}
+ attribute {
+ name = "GSI4PK"
+ type = "S"
}
+ attribute {
+ name = "GSI4SK"
+ type = "S"
}
+ attribute {
+ name = "PK"
+ type = "S"
}
+ attribute {
+ name = "SK"
+ type = "S"
}
+ global_secondary_index {
+ hash_key = "GSI1PK"
+ name = "GSI1"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "GSI1SK"
+ read_capacity = (known after apply)
+ write_capacity = (known after apply)
+ warm_throughput (known after apply)
}
+ global_secondary_index {
+ hash_key = "GSI2PK"
+ name = "GSI2"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "GSI2SK"
+ read_capacity = (known after apply)
+ write_capacity = (known after apply)
+ warm_throughput (known after apply)
}
+ global_secondary_index {
+ hash_key = "GSI3PK"
+ name = "GSI3"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "GSI3SK"
+ read_capacity = (known after apply)
+ write_capacity = (known after apply)
+ warm_throughput (known after apply)
}
+ global_secondary_index {
+ hash_key = "GSI4PK"
+ name = "GSI4"
+ non_key_attributes = []
+ projection_type = "ALL"
+ range_key = "GSI4SK"
+ read_capacity = (known after apply)
+ write_capacity = (known after apply)
+ warm_throughput (known after apply)
}
+ global_table_witness (known after apply)
+ point_in_time_recovery (known after apply)
+ server_side_encryption {
+ enabled = true
+ kms_key_arn = (known after apply)
}
+ ttl (known after apply)
+ warm_throughput (known after apply)
}
# module.lambda.aws_iam_role_policy.lambda_custom_policy will be updated in-place
~ resource "aws_iam_role_policy" "lambda_custom_policy" {
id = "tech-floripa-certificates-lambda-role-dev:tech-floripa-certificates-lambda-policy-dev"
name = "tech-floripa-certificates-lambda-policy-dev"
~ policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev/index/*",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:GetObjectVersion",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> (known after apply)
# (2 unchanged attributes hidden)
}
# module.lambda.aws_iam_role_policy.lambda_notification_custom_policy will be updated in-place
~ resource "aws_iam_role_policy" "lambda_notification_custom_policy" {
id = "tech-floripa-certificates-lambda-notification-role-dev:tech-floripa-certificates-lambda-notification-policy-dev"
name = "tech-floripa-certificates-lambda-notification-policy-dev"
~ policy = jsonencode(
{
- Statement = [
- {
- Action = [
- "dynamodb:GetItem",
- "dynamodb:PutItem",
- "dynamodb:UpdateItem",
- "dynamodb:DeleteItem",
- "dynamodb:Query",
- "dynamodb:Scan",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev/index/*",
- "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev/index/*",
]
},
- {
- Action = [
- "sqs:SendMessage",
- "sqs:ReceiveMessage",
- "sqs:DeleteMessage",
- "sqs:GetQueueAttributes",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-builder-queue",
- "arn:aws:sqs:us-east-1:334318883918:tech-floripa-certificates-notification-queue",
]
},
- {
- Action = [
- "s3:GetObject",
- "s3:PutObject",
- "s3:DeleteObject",
- "s3:ListBucket",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket",
- "arn:aws:s3:::tech-floripa-certificates-dev-bucket/*",
]
},
]
- Version = "2012-10-17"
}
) -> (known after apply)
# (2 unchanged attributes hidden)
}
# module.lambda.aws_lambda_function.api_function will be updated in-place
~ resource "aws_lambda_function" "api_function" {
~ handler = "datadog_lambda.handler.handler" -> "lambda_function.lambda_handler"
id = "tech-floripa-certificates-api-dev"
~ layers = [
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python313:128",
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension:100",
]
tags = {
"Environment" = "dev"
"Name" = "tech-floripa-certificates-api-dev"
"Project" = "tech-floripa-certificates"
}
# (29 unchanged attributes hidden)
~ environment {
~ variables = {
- "DD_LAMBDA_HANDLER" = "lambda_function.lambda_handler" -> null
- "DD_ORG_UUID" = "bfeb990f-bdf1-11f1-8c57-f6d3bac6cfc4" -> null
- "DD_SITE" = "datadoghq.com" -> null
# (7 unchanged elements hidden)
}
}
# (3 unchanged blocks hidden)
}
# module.lambda.aws_lambda_function.builder_function will be updated in-place
~ resource "aws_lambda_function" "builder_function" {
~ handler = "datadog_lambda.handler.handler" -> "lambda_function.lambda_handler"
id = "tech-floripa-certificates-builder-dev"
~ layers = [
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python313:128",
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension:100",
]
tags = {
"Environment" = "dev"
"Name" = "tech-floripa-certificates-builder-dev"
"Project" = "tech-floripa-certificates"
}
# (29 unchanged attributes hidden)
~ environment {
~ variables = {
- "DD_LAMBDA_HANDLER" = "lambda_function.lambda_handler" -> null
- "DD_ORG_UUID" = "bfeb990f-bdf1-11f1-8c57-f6d3bac6cfc4" -> null
- "DD_SITE" = "datadoghq.com" -> null
# (7 unchanged elements hidden)
}
}
# (3 unchanged blocks hidden)
}
# module.lambda.aws_lambda_function.notification_function will be updated in-place
~ resource "aws_lambda_function" "notification_function" {
~ handler = "datadog_lambda.handler.handler" -> "lambda_function.lambda_handler"
id = "tech-floripa-certificates-notification-dev"
~ layers = [
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python313:128",
- "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension:100",
]
tags = {
"Environment" = "dev"
"Name" = "tech-floripa-certificates-notification-dev"
"Project" = "tech-floripa-certificates"
}
# (29 unchanged attributes hidden)
~ environment {
~ variables = {
- "DD_LAMBDA_HANDLER" = "lambda_function.lambda_handler" -> null
- "DD_ORG_UUID" = "bfeb990f-bdf1-11f1-8c57-f6d3bac6cfc4" -> null
- "DD_SITE" = "datadoghq.com" -> null
# (6 unchanged elements hidden)
}
}
# (3 unchanged blocks hidden)
}
# module.orders_table.aws_dynamodb_table.orders will be destroyed
# (because aws_dynamodb_table.orders is not in configuration)
- resource "aws_dynamodb_table" "orders" {
- arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev" -> null
- billing_mode = "PAY_PER_REQUEST" -> null
- deletion_protection_enabled = false -> null
- hash_key = "order_id" -> null
- id = "tech-floripa-certificates-orders-dev" -> null
- name = "tech-floripa-certificates-orders-dev" -> null
- read_capacity = 0 -> null
- region = "us-east-1" -> null
- stream_enabled = false -> null
- table_class = "STANDARD" -> null
- tags = {
- "CostCenter" = "low-cost"
- "Entity" = "Order"
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-orders-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "CostCenter" = "low-cost"
- "Entity" = "Order"
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-orders-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- write_capacity = 0 -> null
# (3 unchanged attributes hidden)
- attribute {
- name = "order_date_order_id" -> null
- type = "S" -> null
}
- attribute {
- name = "order_id" -> null
- type = "N" -> null
}
- attribute {
- name = "order_year_month" -> null
- type = "S" -> null
}
- attribute {
- name = "participant_email" -> null
- type = "S" -> null
}
- attribute {
- name = "product_id" -> null
- type = "N" -> null
}
- global_secondary_index {
- hash_key = "order_year_month" -> null
- name = "orders_by_month_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_date_order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "participant_email" -> null
- name = "orders_by_email_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "product_id" -> null
- name = "orders_by_product_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "order_id" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- point_in_time_recovery {
- enabled = false -> null
- recovery_period_in_days = 0 -> null
}
- server_side_encryption {
- enabled = true -> null
- kms_key_arn = "arn:aws:kms:us-east-1:334318883918:key/bb0ff81e-9dac-43c3-998d-0abd7b149bec" -> null
}
- ttl {
- enabled = false -> null
# (1 unchanged attribute hidden)
}
}
# module.participants_table.aws_dynamodb_table.participants will be destroyed
# (because aws_dynamodb_table.participants is not in configuration)
- resource "aws_dynamodb_table" "participants" {
- arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev" -> null
- billing_mode = "PAY_PER_REQUEST" -> null
- deletion_protection_enabled = false -> null
- hash_key = "id" -> null
- id = "tech-floripa-certificates-participants-dev" -> null
- name = "tech-floripa-certificates-participants-dev" -> null
- read_capacity = 0 -> null
- region = "us-east-1" -> null
- stream_enabled = false -> null
- table_class = "STANDARD" -> null
- tags = {
- "CostCenter" = "low-cost"
- "Entity" = "Participant"
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-participants-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "CostCenter" = "low-cost"
- "Entity" = "Participant"
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-participants-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- write_capacity = 0 -> null
# (3 unchanged attributes hidden)
- attribute {
- name = "email" -> null
- type = "S" -> null
}
- attribute {
- name = "id" -> null
- type = "S" -> null
}
- global_secondary_index {
- hash_key = "email" -> null
- name = "participants_by_email_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
# (1 unchanged attribute hidden)
}
- point_in_time_recovery {
- enabled = false -> null
- recovery_period_in_days = 0 -> null
}
- server_side_encryption {
- enabled = true -> null
- kms_key_arn = "arn:aws:kms:us-east-1:334318883918:key/bb0ff81e-9dac-43c3-998d-0abd7b149bec" -> null
}
- ttl {
- enabled = false -> null
# (1 unchanged attribute hidden)
}
}
# module.products_table.aws_dynamodb_table.products will be destroyed
# (because aws_dynamodb_table.products is not in configuration)
- resource "aws_dynamodb_table" "products" {
- arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev" -> null
- billing_mode = "PAY_PER_REQUEST" -> null
- deletion_protection_enabled = false -> null
- hash_key = "product_id" -> null
- id = "tech-floripa-certificates-products-dev" -> null
- name = "tech-floripa-certificates-products-dev" -> null
- read_capacity = 0 -> null
- region = "us-east-1" -> null
- stream_enabled = false -> null
- table_class = "STANDARD" -> null
- tags = {
- "CostCenter" = "low-cost"
- "Entity" = "Product"
- "Environment" = "dev"
- "Name" = "tech-floripa-certificates-products-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- tags_all = {
- "CostCenter" = "low-cost"
- "Entity" = "Product"
- "Environment" = "dev"
- "ManagedBy" = "terraform"
- "Name" = "tech-floripa-certificates-products-dev"
- "Project" = "tech-floripa-certificates"
} -> null
- write_capacity = 0 -> null
# (3 unchanged attributes hidden)
- attribute {
- name = "has_certificate_background_flag" -> null
- type = "N" -> null
}
- attribute {
- name = "has_certificate_logo_flag" -> null
- type = "N" -> null
}
- attribute {
- name = "product_id" -> null
- type = "N" -> null
}
- attribute {
- name = "product_name" -> null
- type = "S" -> null
}
- global_secondary_index {
- hash_key = "has_certificate_background_flag" -> null
- name = "products_by_has_background_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "product_name" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "has_certificate_logo_flag" -> null
- name = "products_by_has_logo_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- range_key = "product_name" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
}
- global_secondary_index {
- hash_key = "product_name" -> null
- name = "products_by_name_idx" -> null
- non_key_attributes = [] -> null
- projection_type = "ALL" -> null
- read_capacity = 0 -> null
- write_capacity = 0 -> null
# (1 unchanged attribute hidden)
}
- point_in_time_recovery {
- enabled = false -> null
- recovery_period_in_days = 0 -> null
}
- server_side_encryption {
- enabled = true -> null
- kms_key_arn = "arn:aws:kms:us-east-1:334318883918:key/bb0ff81e-9dac-43c3-998d-0abd7b149bec" -> null
}
- ttl {
- enabled = false -> null
# (1 unchanged attribute hidden)
}
}
Plan: 1 to add, 5 to change, 4 to destroy.
Changes to Outputs:
- certificates_table_arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-certificates-dev" -> null
- certificates_table_name = "tech-floripa-certificates-certificates-dev" -> null
+ dynamodb_single_table_arn = (known after apply)
+ dynamodb_single_table_name = "tech-floripa-certificates-dev"
- orders_table_arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-orders-dev" -> null
- orders_table_name = "tech-floripa-certificates-orders-dev" -> null
- participants_table_arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-participants-dev" -> null
- participants_table_name = "tech-floripa-certificates-participants-dev" -> null
- products_table_arn = "arn:aws:dynamodb:us-east-1:334318883918:table/tech-floripa-certificates-products-dev" -> null
- products_table_name = "tech-floripa-certificates-products-dev" -> null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Creates Terraform module for DynamoDB single-table design with 5 Global Secondary Indexes.
Changes
GSI Design
Related
API PR: PythonFloripa/py-certify-api
Notification PR: PythonFloripa/py-certify-notification