Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Deployments & Workflows
  3. Concepts
  4. Deployments Settings

Pulumi Deployment Settings

    Deployment settings refer to the full set of configuration required to run a Pulumi Deployment, defined on a per-stack basis. These settings can be managed through the Pulumi Cloud UI, via the REST API, or defined as code with the Pulumi Cloud provider.

    Creating deployment settings

    You can create and manage deployment settings in several ways:

    From the Pulumi Cloud UI

    From the Pulumi Cloud console, a stack’s deployment settings can be accessed via the Settings > Deploy tab. Once the settings are defined via the UI, they apply to all Deployment triggers, including push-to-deploy (if you have a VCS integration configured), click-to-deploy and the REST API.

    From the API

    Alternatively, a stack’s deployment settings may be defined and subsequently modified using the REST API. For more information, see Patch Settings in the Pulumi Deployments REST API docs.

    Defined as code with the Pulumi Cloud provider

    Finally, a stack’s deployment settings may be defined as a resource within the stack itself using the Pulumi Cloud provider. This lets you securely store your settings in source control alongside your code. For more information, see the pulumiservice.DeploymentSettings resource docs in the Pulumi Registry.

    Pulumi recommends against a stack defining its own Deployment Settings (that is, including a pulumiService.DeploymentSettings resource that defines settings for the current stack), as this would require two deployments for the settings changes to take effect. Instead, create a separate Pulumi program that defines Deployment Settings for multiple stacks that share similar configuration.

    In this section

    To authenticate with cloud providers using short-lived credentials instead of static secrets, see the OIDC setup guide. For task-oriented walkthroughs — supplying cloud credentials, building custom images, and more — see the Deployments guides.

      The infrastructure as code platform for any cloud.