terraform plan and terraform apply.
phala_account
Returns current account info including user profile, credits, and active workspace linkage.Attributes
phala_workspace
Returns metadata about the active workspace for the current API key.Attributes
phala_sizes
Lists available CVM instance types. Use this to discover validsize slugs for phala_app.
Input Attributes
Output: sizes List
Each entry in sizes contains:
phala_regions
Lists available deployment regions.Output: regions List
Each entry in regions contains:
phala_images
Lists available OS images for CVMs. Always use the exactslug from this data source when setting the image attribute on phala_app.
Input Attributes
Output: images List
Each entry in images contains:
phala_nodes
Lists available worker nodes (teepods) for CVM placement. Use this when you need to pin a deployment to a specific node withnode_id on phala_app.
Input Attributes
Output: nodes List
Each entry in nodes contains:
phala_attestation
Fetches TEE attestation data for a specific CVM on demand. This is a read-only verification data source, not a lifecycle resource.Input Attributes
Output Attributes
Attestation data is fetched fresh on every plan/apply. The
raw_json field contains the complete API response if you need fields beyond the top-level attributes.Related
- phala_app Resource — using data source outputs in deployments
- Examples — discovery and deployment patterns

