Terraform resource for managing an AWS CloudFront Key Value Store.
resource "aws_cloudfront_key_value_store" "example" {
name = "ExampleKeyValueStore"
comment = "This is an example key value store"
}
The following arguments are required:
name
- (Required) Unique name for your CloudFront KeyValueStore.The following arguments are optional:
comment
- (Optional) Comment.This resource exports the following attributes in addition to the arguments above:
arn
- Amazon Resource Name (ARN) identifying your CloudFront KeyValueStore.id
- A unique identifier for the KeyValueStore. Same as name
.etag
- ETag hash of the KeyValueStore.create
- (Default 30m
)In Terraform v1.5.0 and later, use an import
block to import CloudFront Key Value Store using the name
. For example:
import {
to = aws_cloudfront_key_value_store.example
id = "example_store"
}
Using terraform import
, import CloudFront Key Value Store using the name
. For example:
% terraform import aws_cloudfront_key_value_store.example example_store