DeploymentSettings
DeploymentSettings contains the configuration settings for Pulumi Deployments on a stack.
Properties
versioninteger optionalThe version of the deployment settings.tagstring optionalA tag to identify the deployment settings configuration.- The executor context defining the execution environment.
- Defines the image that the pulumi operations should run in.
- ↳
executorRootPathstring optionalDefines the root path for the executor binary and working directory. - The source context defining where the source code is located.
- Git-based source context for obtaining source code from a repository.
- Mercurial-based source context for obtaining source code from a repository.
- Template-based source context for obtaining source code from a template URL.
- GitHub-specific deployment settings
- ↳
repositorystring optionalThe GitHub repository in the format owner/repo. - ↳
pullRequestTemplateboolean optionalWhether to use a pull request template for deployment previews. - ↳
deployCommitsboolean optionalWhether to automatically deploy commits pushed to the target branch. - ↳
previewPullRequestsboolean optionalWhether to automatically preview pull requests. - ↳
deployPullRequestinteger optionalThe pull request number to deploy, if targeting a specific pull request. - ↳
pathsarray[string] optionalThe list of file paths to filter deployment triggers. - ↳
installationIdstring optionalThe GitHub App installation ID. - VCS provider settings
- ↳
repositorystring optionalThe VCS repository reference (format varies by provider) - ↳
deployCommitsboolean optionalWhether to deploy all commits to the default branch - ↳
pathsarray[string] optionalPaths within the repository that trigger deployments when changed - ↳
installationIdstring optionalVCS installation/integration ID linking to the VCS provider - ↳
pullRequestTemplateboolean optionalWhether to use pull request templates for deployment PRs - ↳
previewPullRequestsboolean optionalWhether to create preview deployments for pull requests - ↳
deployPullRequestinteger optionalSpecific pull request number to deploy (overrides automatic deployment) - ↳
providerstring required - The operation context defining pre-run and post-run commands and environment variables.
- OIDC contains the OIDC configuration for the operation.
- ↳
preRunCommandsarray[string] optionalPreRunCommands is an optional list of arbitrary commands to run before Pulumi is invoked. ref: https://github.com/pulumi/pulumi/issues/9397 - ↳
operationenum optionalThe Pulumi operation to perform (e.g. update, preview, refresh, destroy).Values:update,preview,destroy,refresh,detect-drift,remediate-drift - EnvironmentVariables contains environment variables to be applied during the execution.
- Options is a bag of settings to specify or override default behavior
- Role defines the deployment role to assume for the operation.
sourceenum optionalThe source from which the deployment settings were created.Values:console,api,provider,github-review-stack,azure-devops-review-stack,gitlab-review-stack,bitbucket-review-stack,github-gitopsagentPoolIDstring optionalThe identifier of the agent pool to use for deployments.- Cache options for the deployment.
- ↳
enableboolean requiredWhether build caching is enabled for deployments on this stack.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.