|
| 1 | +# key-value-store |
| 2 | + |
| 3 | +This module creates following resources. |
| 4 | + |
| 5 | +- `aws_cloudfront_key_value_store` |
| 6 | +- `aws_cloudfrontkeyvaluestore_key` (optional) |
| 7 | +- `aws_cloudfrontkeyvaluestore_keys_exclusive` (optional) |
| 8 | + |
| 9 | +<!-- BEGIN_TF_DOCS --> |
| 10 | +## Requirements |
| 11 | + |
| 12 | +| Name | Version | |
| 13 | +|------|---------| |
| 14 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.6 | |
| 15 | +| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.100 | |
| 16 | + |
| 17 | +## Providers |
| 18 | + |
| 19 | +| Name | Version | |
| 20 | +|------|---------| |
| 21 | +| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.10.0 | |
| 22 | + |
| 23 | +## Modules |
| 24 | + |
| 25 | +No modules. |
| 26 | + |
| 27 | +## Resources |
| 28 | + |
| 29 | +| Name | Type | |
| 30 | +|------|------| |
| 31 | +| [aws_cloudfront_key_value_store.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_key_value_store) | resource | |
| 32 | +| [aws_cloudfrontkeyvaluestore_key.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfrontkeyvaluestore_key) | resource | |
| 33 | +| [aws_cloudfrontkeyvaluestore_keys_exclusive.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfrontkeyvaluestore_keys_exclusive) | resource | |
| 34 | + |
| 35 | +## Inputs |
| 36 | + |
| 37 | +| Name | Description | Type | Default | Required | |
| 38 | +|------|-------------|------|---------|:--------:| |
| 39 | +| <a name="input_name"></a> [name](#input\_name) | (Required) Unique name of the CloudFront Key-Value Store. | `string` | n/a | yes | |
| 40 | +| <a name="input_description"></a> [description](#input\_description) | (Optional) The description of the CloudFront Key-Value Store. | `string` | `"Managed by Terraform."` | no | |
| 41 | +| <a name="input_exclusive"></a> [exclusive](#input\_exclusive) | (Optional) Whether to manage all keys exclusively. If `true`, all keys not defined in the `keys` variable will be removed from the key-value store. If `false`, keys are managed individually and can coexist with keys managed outside of Terraform. Defaults to `false`. | `bool` | `false` | no | |
| 42 | +| <a name="input_items"></a> [items](#input\_items) | (Optional) A map of key-value pairs to store in the CloudFront Key-Value Store. The key is the key name and the value is the value to store. Defaults to `{}`. | `any` | `{}` | no | |
| 43 | +| <a name="input_timeouts"></a> [timeouts](#input\_timeouts) | (Optional) How long to wait for the CloudFront Key-Value Store to be created. | <pre>object({<br/> create = optional(string, "30m")<br/> })</pre> | `{}` | no | |
| 44 | + |
| 45 | +## Outputs |
| 46 | + |
| 47 | +| Name | Description | |
| 48 | +|------|-------------| |
| 49 | +| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the CloudFront Key-Value Store. | |
| 50 | +| <a name="output_description"></a> [description](#output\_description) | The description of the CloudFront Key-Value Store. | |
| 51 | +| <a name="output_etag"></a> [etag](#output\_etag) | The ETag of the CloudFront Key-Value Store. | |
| 52 | +| <a name="output_exclusive"></a> [exclusive](#output\_exclusive) | Whether all keys are managed exclusively. | |
| 53 | +| <a name="output_id"></a> [id](#output\_id) | The ID of the CloudFront Key-Value Store. | |
| 54 | +| <a name="output_items"></a> [items](#output\_items) | The map of key-value pairs stored in the CloudFront Key-Value Store. | |
| 55 | +| <a name="output_name"></a> [name](#output\_name) | The name of the CloudFront Key-Value Store. | |
| 56 | +| <a name="output_updated_at"></a> [updated\_at](#output\_updated\_at) | The date and time when the CloudFront Key-Value Store was last modified. | |
| 57 | +<!-- END_TF_DOCS --> |
0 commit comments