dynamodb-autoscaler
cloudposse/dynamodb-autoscaler/aws
Terraform module to provision DynamoDB autoscaler
Terraform module to provision DynamoDB autoscaler. Autoscaler scales up/down the provisioned OPS for a DynamoDB table based on the load. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage ```hcl module "dynamodb_autoscaler" { source = "cloudposse/dynamodb-autoscaler/aws" # Cloud Posse recommends pinning every module to a specific version # version = "x.x.x" namespace = "eg" stage = "dev" name = "cluster" dynamodb_table_name = "eg-dev-cluster-terraform-state-lock" dynamodb_indexes = ["first-index", "second-index"] dynamodb_t
| Name | Type | Description | Default |
|---|---|---|---|
| dynamodb_table_arn | string | DynamoDB table ARN | required |
| dynamodb_table_name | string | DynamoDB table name | required |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | null |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| autoscale_max_write_capacity | number | DynamoDB autoscaling max write capacity | 20 |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | null |
| autoscale_max_read_capacity_index | number | DynamoDB autoscaling max read capacity of the index | null |
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | null |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| autoscale_min_write_capacity_index | number | DynamoDB autoscaling min write capacity of the index | null |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | null |
| autoscale_scale_in_cooldown | number | DynamoDB autoscaling scale in cooldown | null |
| autoscale_min_write_capacity | number | DynamoDB autoscaling min write capacity | 5 |
| autoscale_read_target_index | number | The target value for DynamoDB read autoscaling of the index | null |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | null |
| dynamodb_indexes | list(string) | List of DynamoDB indexes | [] |
| enabled | bool | Set to false to prevent the module from creating any resources | null |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | null |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
appautoscaling_read_policy_arn — Appautoscaling read policy ARNappautoscaling_write_policy_arn — Appautoscaling write policy ARNAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,