Skip to content
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

Add DynamoDB table class #75

Merged
merged 2 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,14 @@ Type: `string`

Default: `"PROVISIONED"`

### <a name="input_dynamodb_table_class"></a> [dynamodb\_table\_class](#input\_dynamodb\_table\_class)

Description: Storage class of the table

Type: `string`

Default: `"STANDARD"`

### <a name="input_dynamodb_name_override"></a> [dynamodb\_name\_override](#input\_dynamodb\_name\_override)

Description: define dynamodb\_name\_override to set a name differnt from var.name
Expand Down Expand Up @@ -593,6 +601,14 @@ Type: `string`

Default: `"PROVISIONED"`

### <a name="input_dynamodb2_table_class"></a> [dynamodb2\_table\_class](#input\_dynamodb2\_table\_class)

Description: Storage class of the table

Type: `string`

Default: `"STANDARD"`

### <a name="input_dynamodb2_name_override"></a> [dynamodb2\_name\_override](#input\_dynamodb2\_name\_override)

Description: define dynamodb2\_name\_override to set a name differnt from var.name
Expand Down Expand Up @@ -757,6 +773,14 @@ Type: `string`

Default: `"PROVISIONED"`

### <a name="input_dynamodb3_table_class"></a> [dynamodb3\_table\_class](#input\_dynamodb3\_table\_class)

Description: Storage class of the table

Type: `string`

Default: `"STANDARD"`

### <a name="input_dynamodb3_name_override"></a> [dynamodb3\_name\_override](#input\_dynamodb3\_name\_override)

Description: define dynamodb3\_name\_override to set a name differnt from var.name
Expand Down
1 change: 1 addition & 0 deletions dynamodb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module "dynamodb" {
range_key_type = var.dynamodb_range_key_type
enabled = var.dynamodb_enabled
billing_mode = var.dynamodb_billing
table_class = var.dynamodb_table_class

dynamodb_attributes = var.dynamodb_attributes
global_secondary_index_map = var.dynamodb_global_secondary_index_map
Expand Down
1 change: 1 addition & 0 deletions dynamodb_2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module "dynamodb2" {
range_key_type = var.dynamodb2_range_key_type
enabled = var.dynamodb2_enabled
billing_mode = var.dynamodb2_billing
table_class = var.dynamodb2_table_class

dynamodb_attributes = var.dynamodb2_attributes
global_secondary_index_map = var.dynamodb2_global_secondary_index_map
Expand Down
1 change: 1 addition & 0 deletions dynamodb_3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module "dynamodb3" {
range_key_type = var.dynamodb3_range_key_type
enabled = var.dynamodb3_enabled
billing_mode = var.dynamodb3_billing
table_class = var.dynamodb3_table_class

dynamodb_attributes = var.dynamodb3_attributes
global_secondary_index_map = var.dynamodb3_global_secondary_index_map
Expand Down
18 changes: 18 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ variable "dynamodb_billing" {
type = string
}

variable "dynamodb_table_class" {
description = "Storage class of the table"
default = "STANDARD"
type = string
}

variable "dynamodb_name_override" {
description = "define dynamodb_name_override to set a name differnt from var.name "
default = ""
Expand Down Expand Up @@ -256,6 +262,12 @@ variable "dynamodb2_billing" {
type = string
}

variable "dynamodb2_table_class" {
description = "Storage class of the table"
default = "STANDARD"
type = string
}

variable "dynamodb2_name_override" {
description = "define dynamodb2_name_override to set a name differnt from var.name"
default = ""
Expand Down Expand Up @@ -378,6 +390,12 @@ variable "dynamodb3_billing" {
type = string
}

variable "dynamodb3_table_class" {
description = "Storage class of the table"
default = "STANDARD"
type = string
}

variable "dynamodb3_name_override" {
description = "define dynamodb3_name_override to set a name differnt from var.name"
default = ""
Expand Down