Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.5 KB

File metadata and controls

57 lines (43 loc) · 1.5 KB
page_title spiceai_app Data Source - spiceai
subcategory
description Retrieves details about a Spice.ai app by its ID.

spiceai_app (Data Source)

Retrieves details about a Spice.ai app by its ID.

Example Usage

data "spiceai_app" "example" {
  id = "12345"
}

output "app_name" {
  value = data.spiceai_app.example.name
}

output "app_api_key" {
  value     = data.spiceai_app.example.api_key
  sensitive = true
}

Schema

Required

  • id (String) The unique identifier of the app.

Read-Only

  • api_key (String, Sensitive) The API key for the app.
  • config (Attributes) The configuration of the app. (see below for nested schema)
  • created_at (String) The timestamp when the app was created.
  • description (String) A description of the app.
  • name (String) The name of the app.
  • production_branch (String) The production branch for the app.
  • region (String) The region where the app is deployed.
  • visibility (String) The visibility of the app (public or private).

Nested Schema for config

Read-Only:

  • image_tag (String) The Spice.ai runtime image tag.
  • node_group (String) The node group for the app.
  • replicas (Number) The number of replicas.
  • spicepod (String) The spicepod configuration as a JSON string.
  • storage_claim_size_gb (Number) The storage claim size in GB.