Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / lib/vite / ReadTerraformOutputsOptions

Interface: ReadTerraformOutputsOptions<T> ​

Defined in: src/lib/vite/terraform-outputs.ts:41

Options shared by readTerraformOutputs and requireTerraformOutputs.

Extended by ​

Type Parameters ​

T ​

T extends Record<string, string>

Properties ​

keys ​

keys: TerraformOutputKeys<T>

Defined in: src/lib/vite/terraform-outputs.ts:45

Maps each key of T to its Terraform output name, e.g. { workerName: "worker_name" }.


path? ​

optional path?: string

Defined in: src/lib/vite/terraform-outputs.ts:51

Path to the Terraform outputs JSON file, resolved against process.cwd() if relative.

Default ​

ts
"infra/outputs.json"