Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

key-value-store

This module creates following resources.

  • aws_cloudfront_key_value_store
  • aws_cloudfrontkeyvaluestore_key (optional)
  • aws_cloudfrontkeyvaluestore_keys_exclusive (optional)

Requirements

Name Version
terraform >= 1.12
aws >= 6.20

Providers

Name Version
aws 6.10.0

Modules

No modules.

Resources

Name Type
aws_cloudfront_key_value_store.this resource
aws_cloudfrontkeyvaluestore_key.this resource
aws_cloudfrontkeyvaluestore_keys_exclusive.this resource

Inputs

Name Description Type Default Required
name (Required) Unique name of the CloudFront Key-Value Store. string n/a yes
description (Optional) The description of the CloudFront Key-Value Store. string "Managed by Terraform." no
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
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
timeouts (Optional) How long to wait for the CloudFront Key-Value Store to be created.
object({
create = optional(string, "30m")
})
{} no

Outputs

Name Description
arn The ARN of the CloudFront Key-Value Store.
description The description of the CloudFront Key-Value Store.
etag The ETag of the CloudFront Key-Value Store.
exclusive Whether all keys are managed exclusively.
id The ID of the CloudFront Key-Value Store.
items The map of key-value pairs stored in the CloudFront Key-Value Store.
name The name of the CloudFront Key-Value Store.
updated_at The date and time when the CloudFront Key-Value Store was last modified.