SourceContextTemplate
Template-based source context for obtaining source code from a template URL.
Properties
sourceUrlstring optionalThe URL of the template source. Supports two URL schemes:
Registry-backed templates use the
registry://scheme with the format:registry://templates/source/publisher/name[@version]source: The template source identifier (e.g., the registry source name)publisher: The organization or user that published the templatename: The template nameversion: Optional semver version (e.g.,1.0.0). If omitted, defaults to the latest version
Example:
registry://templates/pulumi/acme-corp/aws-vpc@2.1.0VCS-backed templates use standard VCS URLs (GitHub, GitLab, Azure DevOps, etc.):
https://github.com/org/repo- GitAuth allows configuring git authentication options The only authentication option is personal access token as of now.
- Personal access token for git authentication
- SSH private key authentication configuration
- Basic auth username and password configuration
projectSourceUrlstring optionalThe template source URL configured on the stack’s project, if any. WhensourceUrlis blank, deployments use this URL, so the stack inherits changes to the project’s template source. Read-only: it cannot be set through deployment settings requests.