Skip to main content

provision_resource

Function provision_resource 

Source
pub async fn provision_resource<T>(
    stripe: &StripeProjects<&dyn CommandRunner>,
    def: &StackDef,
    definition_dir: &Path,
    instance: &str,
    name: &str,
    substrate: &str,
    skip_instance_context: bool,
) -> Result<StepResource, IntegrationError>
where T: CatalogResource,
Expand description

Provision a resource: build config, add the catalog resource (validated + paid-confirmed by the catalog tier), resolve its declared output fields (shared dual-form resolution), and record them.