Skip to content

Commit

Permalink
Merge pull request #69 from Flaconi/OPS-0-missing-para
Browse files Browse the repository at this point in the history
OPS-5179: Added Missing Parameter for Billing Mode
  • Loading branch information
vikkasyousaf authored Oct 5, 2022
2 parents a37fe0c + bab3d18 commit 7e7db77
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,14 @@ Type: `bool`

Default: `false`

### <a name="input_dynamodb_billing"></a> [dynamodb\_billing](#input\_dynamodb\_billing)

Description: DynamoDB Billing mode. Can be PROVISIONED or PAY\_PER\_REQUEST

Type: `string`

Default: `"PROVISIONED"`

### <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 @@ -577,6 +585,14 @@ Type: `bool`

Default: `false`

### <a name="input_dynamodb2_billing"></a> [dynamodb2\_billing](#input\_dynamodb2\_billing)

Description: DynamoDB Billing mode. Can be PROVISIONED or PAY\_PER\_REQUEST

Type: `string`

Default: `"PROVISIONED"`

### <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 @@ -733,6 +749,14 @@ Type: `bool`

Default: `false`

### <a name="input_dynamodb3_billing"></a> [dynamodb3\_billing](#input\_dynamodb3\_billing)

Description: DynamoDB Billing mode. Can be PROVISIONED or PAY\_PER\_REQUEST

Type: `string`

Default: `"PROVISIONED"`

### <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 @@ -22,6 +22,7 @@ module "dynamodb" {
range_key = var.dynamodb_range_key
range_key_type = var.dynamodb_range_key_type
enabled = var.dynamodb_enabled
billing_mode = var.dynamodb_billing

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 @@ -23,6 +23,7 @@ module "dynamodb2" {
range_key = var.dynamodb2_range_key
range_key_type = var.dynamodb2_range_key_type
enabled = var.dynamodb2_enabled
billing_mode = var.dynamodb2_billing

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 @@ -23,6 +23,7 @@ module "dynamodb3" {
range_key = var.dynamodb3_range_key
range_key_type = var.dynamodb3_range_key_type
enabled = var.dynamodb3_enabled
billing_mode = var.dynamodb3_billing

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 @@ -127,6 +127,12 @@ variable "dynamodb_enabled" {
type = bool
}

variable "dynamodb_billing" {
description = "DynamoDB Billing mode. Can be PROVISIONED or PAY_PER_REQUEST"
default = "PROVISIONED"
type = string
}

variable "dynamodb_name_override" {
description = "define dynamodb_name_override to set a name differnt from var.name "
default = ""
Expand Down Expand Up @@ -244,6 +250,12 @@ variable "dynamodb2_enabled" {
type = bool
}

variable "dynamodb2_billing" {
description = "DynamoDB Billing mode. Can be PROVISIONED or PAY_PER_REQUEST"
default = "PROVISIONED"
type = string
}

variable "dynamodb2_name_override" {
description = "define dynamodb2_name_override to set a name differnt from var.name"
default = ""
Expand Down Expand Up @@ -360,6 +372,12 @@ variable "dynamodb3_enabled" {
type = bool
}

variable "dynamodb3_billing" {
description = "DynamoDB Billing mode. Can be PROVISIONED or PAY_PER_REQUEST"
default = "PROVISIONED"
type = string
}

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

0 comments on commit 7e7db77

Please sign in to comment.