-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathspin.toml
More file actions
35 lines (28 loc) · 1.06 KB
/
spin.toml
File metadata and controls
35 lines (28 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
spin_manifest_version = 2
[application]
authors = ["Thorsten Hans <thorsten.hans@fermyon.com>"]
description = ""
name = "stream-data-from-linode-object-store-tutorial"
version = "0.1.0"
[variables]
region = { required = true }
endpoint = { required = true }
bucket_name = { required = true }
access_key_id = { required = true }
secret_access_key = { required = true, secret = true }
[[trigger.http]]
route = "/..."
component = "stream-data-from-linode-object-store-tutorial"
[component.stream-data-from-linode-object-store-tutorial]
source = "dist/stream-data-from-linode-object-store-tutorial.wasm"
exclude_files = ["**/node_modules"]
allowed_outbound_hosts = ['https://{{ bucket_name }}.{{ endpoint }}']
[component.stream-data-from-linode-object-store-tutorial.variables]
region = "{{ region }}"
endpoint = "https://{{ endpoint }}"
bucket_name = "{{ bucket_name }}"
access_key_id = "{{ access_key_id }}"
secret_access_key = "{{ secret_access_key }}"
[component.stream-data-from-linode-object-store-tutorial.build]
command = ["npm install", "npm run build"]
watch = ["src/**/*.ts"]