github.com/fastly/cli@v1.7.2-0.20240304164155-9d0f1d77c3bf/pkg/commands/compute/testdata/init/fastly-viceroy-update.toml (about)

     1  # This file describes a Fastly Compute package. To learn more visit:
     2  # https://developer.fastly.com/reference/fastly-toml/
     3  
     4  authors = ["phamann <patrick@fastly.com>"]
     5  description = "Default package template for Rust based edge compute projects."
     6  language = "rust"
     7  manifest_version = 2
     8  name = "Default Rust template"
     9  
    10  [local_server]
    11  
    12    [local_server.backends]
    13  
    14      [local_server.backends.backend_a]
    15        url = "https://example.com/"
    16        override_host = "otherexample.com"
    17  
    18      [local_server.backends.foo]
    19        url = "https://foo.com/"
    20  
    21      [local_server.backends.bar]
    22        url = "https://bar.com/"
    23  
    24    [local_server.dictionaries]
    25  
    26      [local_server.dictionaries.strings]
    27        file = "strings.json"
    28        format = "json"
    29  
    30      [local_server.dictionaries.toml]
    31        format = "inline-toml"
    32  
    33      [local_server.dictionaries.toml.contents]
    34        foo = "bar"
    35        baz = """
    36  qux"""
    37  
    38    [local_server.kv_stores]
    39      store_one = [{key = "first", data = "This is some data"}, {key = "second", path = "strings.json"}]
    40  
    41      [[local_server.kv_stores.store_two]]
    42        key = "first"
    43        data = "This is some data"
    44  
    45      [[local_server.kv_stores.store_two]]
    46        key = "second"
    47        file = "strings.json"
    48  
    49    [local_server.secret_stores]
    50      store_one = [{key = "first", data = "This is some secret data"}, {key = "second", file = "/path/to/secret.json"}]
    51  
    52      [[local_server.secret_stores.store_two]]
    53        key = "first"
    54        data = "This is also some secret data"
    55  
    56      [[local_server.secret_stores.store_two]]
    57        key = "second"
    58        file = "/path/to/other/secret.json"