component block references a reusable Pulumi ComponentResource — from the Strata registry or a local path. Equivalent to Terraform’s module block.
Syntax
name— unique name within the stacksource— registry path or local directory (required)version— semver (registry only, optional, defaults to"latest")
Registry Component
Local Component
Referencing Outputs
Component outputs are alwaysPending<T>:
for_each
when
Source Formats
| Format | Example |
|---|---|
| Short form | eks-platform → registry.ubiquex.io/eks-platform |
| Full registry | registry.ubiquex.io/package-name |
| Local path | ./components/vpc |
| Other registry | my-registry.io/package-name |
