awscc_cloudfront_key_value_store (Resource)

Resource Type definition for AWS::CloudFront::KeyValueStore

Example Usage

Basic Usage

resource "awscc_cloudfront_key_value_store" "example" {
  name    = "ExampleKeyValueStore"
  comment = "This is an example key value store"
}

Key value store with S3 as source

Creates a Cloudfront key value store with S3 as the source. File format details can be found here

resource "awscc_cloudfront_key_value_store" "example" {
  name    = "ExampleKeyValueStore"
  comment = "This is an example key value store"
  import_source = {
    source_arn  = "arn:aws:s3:::your-bucket-name/key-value-file"
    source_type = "S3"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for import_source

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_cloudfront_key_value_store.example <resource ID>