Skip to content

@adrianhall/cloudflare-toolkit


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

Interface: RequireTerraformOutputsOptions<T> ​

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

Options for requireTerraformOutputs.

Extends ​

Type Parameters ​

T ​

T extends Record<string, string>

Properties ​

hint ​

hint: string

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

A command the operator should run to produce/refresh the outputs file, interpolated into the thrown error message, e.g. "npm run deploy:infra".


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" }.

Inherited from ​

ReadTerraformOutputsOptions.keys


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"

Inherited from ​

ReadTerraformOutputsOptions.path