-
Notifications
You must be signed in to change notification settings - Fork 1
Uncomment DynamoDB table modules and outputs #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Terraform Plan (dev)Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.certificates_table.aws_dynamodb_table.certificates will be created
+ resource "aws_dynamodb_table" "certificates" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ hash_key = "id"
+ id = (known after apply)
+ name = "tech-floripa-certificates-certificates-dev"
+ range_key = "order_id"
+ 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"
+ "Entity" = "Certificate"
+ "Environment" = "dev"
+ "Name" = "tech-floripa-certificates-certificates-dev"
+ "Project" = "tech-floripa-certificates"
}
+ tags_all = {
+ "CostCenter" = "low-cost"
+ "Entity" = "Certificate"
+ "Environment" = "dev"
+ "ManagedBy" = "terraform"
+ "Name" = "tech-floripa-certificates-certificates-dev"
+ "Project" = "tech-floripa-certificates"
}
+ write_capacity = (known after apply)
+ attribute {
+ name = "id"
+ type = "S"
}
+ attribute {
+ name = "order_id"
+ type = "N"
}
+ 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.orders_table.aws_dynamodb_table.orders will be created
+ resource "aws_dynamodb_table" "orders" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ hash_key = "order_id"
+ id = (known after apply)
+ name = "tech-floripa-certificates-orders-dev"
+ 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"
+ "Entity" = "Order"
+ "Environment" = "dev"
+ "Name" = "tech-floripa-certificates-orders-dev"
+ "Project" = "tech-floripa-certificates"
}
+ tags_all = {
+ "CostCenter" = "low-cost"
+ "Entity" = "Order"
+ "Environment" = "dev"
+ "ManagedBy" = "terraform"
+ "Name" = "tech-floripa-certificates-orders-dev"
+ "Project" = "tech-floripa-certificates"
}
+ write_capacity = (known after apply)
+ attribute {
+ name = "order_id"
+ type = "N"
}
+ 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.participants_table.aws_dynamodb_table.participants will be created
+ resource "aws_dynamodb_table" "participants" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ hash_key = "id"
+ id = (known after apply)
+ name = "tech-floripa-certificates-participants-dev"
+ 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"
+ "Entity" = "Participant"
+ "Environment" = "dev"
+ "Name" = "tech-floripa-certificates-participants-dev"
+ "Project" = "tech-floripa-certificates"
}
+ tags_all = {
+ "CostCenter" = "low-cost"
+ "Entity" = "Participant"
+ "Environment" = "dev"
+ "ManagedBy" = "terraform"
+ "Name" = "tech-floripa-certificates-participants-dev"
+ "Project" = "tech-floripa-certificates"
}
+ write_capacity = (known after apply)
+ attribute {
+ name = "id"
+ type = "S"
}
+ 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.products_table.aws_dynamodb_table.products will be created
+ resource "aws_dynamodb_table" "products" {
+ arn = (known after apply)
+ billing_mode = "PAY_PER_REQUEST"
+ hash_key = "product_id"
+ id = (known after apply)
+ name = "tech-floripa-certificates-products-dev"
+ 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"
+ "Entity" = "Product"
+ "Environment" = "dev"
+ "Name" = "tech-floripa-certificates-products-dev"
+ "Project" = "tech-floripa-certificates"
}
+ tags_all = {
+ "CostCenter" = "low-cost"
+ "Entity" = "Product"
+ "Environment" = "dev"
+ "ManagedBy" = "terraform"
+ "Name" = "tech-floripa-certificates-products-dev"
+ "Project" = "tech-floripa-certificates"
}
+ write_capacity = (known after apply)
+ attribute {
+ name = "product_id"
+ type = "N"
}
+ 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)
}
Plan: 4 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ certificates_table_arn = (known after apply)
+ certificates_table_name = "tech-floripa-certificates-certificates-dev"
+ orders_table_arn = (known after apply)
+ orders_table_name = "tech-floripa-certificates-orders-dev"
+ participants_table_arn = (known after apply)
+ participants_table_name = "tech-floripa-certificates-participants-dev"
+ products_table_arn = (known after apply)
+ products_table_name = "tech-floripa-certificates-products-dev" |
Terraform Plan (shared)No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed. |
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.
Restore the configuration for DynamoDB tables and their outputs in the Terraform files to enable their usage in the infrastructure setup.