pulumiservice.DeploymentSettings
Explore with Pulumi AI
Deployment settings configure Pulumi Deployments for a stack.
Import
Deployment settings can be imported using the id
, which for deployment settings is {org}/{project}/{stack}
e.g.,
$ pulumi import pulumiservice:index:DeploymentSettings my_settings my-org/my-project/my-stack
Create DeploymentSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeploymentSettings(name: string, args: DeploymentSettingsArgs, opts?: CustomResourceOptions);
@overload
def DeploymentSettings(resource_name: str,
args: DeploymentSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeploymentSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization: Optional[str] = None,
project: Optional[str] = None,
stack: Optional[str] = None,
agent_pool_id: Optional[str] = None,
cache_options: Optional[DeploymentSettingsCacheOptionsArgs] = None,
executor_context: Optional[DeploymentSettingsExecutorContextArgs] = None,
github: Optional[DeploymentSettingsGithubArgs] = None,
operation_context: Optional[DeploymentSettingsOperationContextArgs] = None,
source_context: Optional[DeploymentSettingsSourceContextArgs] = None)
func NewDeploymentSettings(ctx *Context, name string, args DeploymentSettingsArgs, opts ...ResourceOption) (*DeploymentSettings, error)
public DeploymentSettings(string name, DeploymentSettingsArgs args, CustomResourceOptions? opts = null)
public DeploymentSettings(String name, DeploymentSettingsArgs args)
public DeploymentSettings(String name, DeploymentSettingsArgs args, CustomResourceOptions options)
type: pulumiservice:DeploymentSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeploymentSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeploymentSettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeploymentSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentSettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var deploymentSettingsResource = new PulumiService.DeploymentSettings("deploymentSettingsResource", new()
{
Organization = "string",
Project = "string",
Stack = "string",
AgentPoolId = "string",
CacheOptions = new PulumiService.Inputs.DeploymentSettingsCacheOptionsArgs
{
Enable = false,
},
ExecutorContext = new PulumiService.Inputs.DeploymentSettingsExecutorContextArgs
{
ExecutorImage = "string",
},
Github = new PulumiService.Inputs.DeploymentSettingsGithubArgs
{
DeployCommits = false,
Paths = new[]
{
"string",
},
PreviewPullRequests = false,
PullRequestTemplate = false,
Repository = "string",
},
OperationContext = new PulumiService.Inputs.DeploymentSettingsOperationContextArgs
{
EnvironmentVariables =
{
{ "string", "string" },
},
Oidc = new PulumiService.Inputs.OperationContextOIDCArgs
{
Aws = new PulumiService.Inputs.AWSOIDCConfigurationArgs
{
RoleARN = "string",
SessionName = "string",
Duration = "string",
PolicyARNs = new[]
{
"string",
},
},
Azure = new PulumiService.Inputs.AzureOIDCConfigurationArgs
{
ClientId = "string",
SubscriptionId = "string",
TenantId = "string",
},
Gcp = new PulumiService.Inputs.GCPOIDCConfigurationArgs
{
ProjectId = "string",
ProviderId = "string",
ServiceAccount = "string",
WorkloadPoolId = "string",
Region = "string",
TokenLifetime = "string",
},
},
Options = new PulumiService.Inputs.OperationContextOptionsArgs
{
DeleteAfterDestroy = false,
Shell = "string",
SkipInstallDependencies = false,
SkipIntermediateDeployments = false,
},
PreRunCommands = new[]
{
"string",
},
},
SourceContext = new PulumiService.Inputs.DeploymentSettingsSourceContextArgs
{
Git = new PulumiService.Inputs.DeploymentSettingsGitSourceArgs
{
Branch = "string",
Commit = "string",
GitAuth = new PulumiService.Inputs.DeploymentSettingsGitSourceGitAuthArgs
{
BasicAuth = new PulumiService.Inputs.DeploymentSettingsGitAuthBasicAuthArgs
{
Password = "string",
Username = "string",
},
SshAuth = new PulumiService.Inputs.DeploymentSettingsGitAuthSSHAuthArgs
{
SshPrivateKey = "string",
Password = "string",
},
},
RepoDir = "string",
RepoUrl = "string",
},
},
});
example, err := pulumiservice.NewDeploymentSettings(ctx, "deploymentSettingsResource", &pulumiservice.DeploymentSettingsArgs{
Organization: pulumi.String("string"),
Project: pulumi.String("string"),
Stack: pulumi.String("string"),
AgentPoolId: pulumi.String("string"),
CacheOptions: &pulumiservice.DeploymentSettingsCacheOptionsArgs{
Enable: pulumi.Bool(false),
},
ExecutorContext: &pulumiservice.DeploymentSettingsExecutorContextArgs{
ExecutorImage: pulumi.String("string"),
},
Github: &pulumiservice.DeploymentSettingsGithubArgs{
DeployCommits: pulumi.Bool(false),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
PreviewPullRequests: pulumi.Bool(false),
PullRequestTemplate: pulumi.Bool(false),
Repository: pulumi.String("string"),
},
OperationContext: &pulumiservice.DeploymentSettingsOperationContextArgs{
EnvironmentVariables: pulumi.StringMap{
"string": pulumi.String("string"),
},
Oidc: &pulumiservice.OperationContextOIDCArgs{
Aws: &pulumiservice.AWSOIDCConfigurationArgs{
RoleARN: pulumi.String("string"),
SessionName: pulumi.String("string"),
Duration: pulumi.String("string"),
PolicyARNs: pulumi.StringArray{
pulumi.String("string"),
},
},
Azure: &pulumiservice.AzureOIDCConfigurationArgs{
ClientId: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Gcp: &pulumiservice.GCPOIDCConfigurationArgs{
ProjectId: pulumi.String("string"),
ProviderId: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
WorkloadPoolId: pulumi.String("string"),
Region: pulumi.String("string"),
TokenLifetime: pulumi.String("string"),
},
},
Options: &pulumiservice.OperationContextOptionsArgs{
DeleteAfterDestroy: pulumi.Bool(false),
Shell: pulumi.String("string"),
SkipInstallDependencies: pulumi.Bool(false),
SkipIntermediateDeployments: pulumi.Bool(false),
},
PreRunCommands: pulumi.StringArray{
pulumi.String("string"),
},
},
SourceContext: &pulumiservice.DeploymentSettingsSourceContextArgs{
Git: &pulumiservice.DeploymentSettingsGitSourceArgs{
Branch: pulumi.String("string"),
Commit: pulumi.String("string"),
GitAuth: &pulumiservice.DeploymentSettingsGitSourceGitAuthArgs{
BasicAuth: &pulumiservice.DeploymentSettingsGitAuthBasicAuthArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
SshAuth: &pulumiservice.DeploymentSettingsGitAuthSSHAuthArgs{
SshPrivateKey: pulumi.String("string"),
Password: pulumi.String("string"),
},
},
RepoDir: pulumi.String("string"),
RepoUrl: pulumi.String("string"),
},
},
})
var deploymentSettingsResource = new DeploymentSettings("deploymentSettingsResource", DeploymentSettingsArgs.builder()
.organization("string")
.project("string")
.stack("string")
.agentPoolId("string")
.cacheOptions(DeploymentSettingsCacheOptionsArgs.builder()
.enable(false)
.build())
.executorContext(DeploymentSettingsExecutorContextArgs.builder()
.executorImage("string")
.build())
.github(DeploymentSettingsGithubArgs.builder()
.deployCommits(false)
.paths("string")
.previewPullRequests(false)
.pullRequestTemplate(false)
.repository("string")
.build())
.operationContext(DeploymentSettingsOperationContextArgs.builder()
.environmentVariables(Map.of("string", "string"))
.oidc(OperationContextOIDCArgs.builder()
.aws(AWSOIDCConfigurationArgs.builder()
.roleARN("string")
.sessionName("string")
.duration("string")
.policyARNs("string")
.build())
.azure(AzureOIDCConfigurationArgs.builder()
.clientId("string")
.subscriptionId("string")
.tenantId("string")
.build())
.gcp(GCPOIDCConfigurationArgs.builder()
.projectId("string")
.providerId("string")
.serviceAccount("string")
.workloadPoolId("string")
.region("string")
.tokenLifetime("string")
.build())
.build())
.options(OperationContextOptionsArgs.builder()
.deleteAfterDestroy(false)
.shell("string")
.skipInstallDependencies(false)
.skipIntermediateDeployments(false)
.build())
.preRunCommands("string")
.build())
.sourceContext(DeploymentSettingsSourceContextArgs.builder()
.git(DeploymentSettingsGitSourceArgs.builder()
.branch("string")
.commit("string")
.gitAuth(DeploymentSettingsGitSourceGitAuthArgs.builder()
.basicAuth(DeploymentSettingsGitAuthBasicAuthArgs.builder()
.password("string")
.username("string")
.build())
.sshAuth(DeploymentSettingsGitAuthSSHAuthArgs.builder()
.sshPrivateKey("string")
.password("string")
.build())
.build())
.repoDir("string")
.repoUrl("string")
.build())
.build())
.build());
deployment_settings_resource = pulumiservice.DeploymentSettings("deploymentSettingsResource",
organization="string",
project="string",
stack="string",
agent_pool_id="string",
cache_options={
"enable": False,
},
executor_context={
"executor_image": "string",
},
github={
"deploy_commits": False,
"paths": ["string"],
"preview_pull_requests": False,
"pull_request_template": False,
"repository": "string",
},
operation_context={
"environment_variables": {
"string": "string",
},
"oidc": {
"aws": {
"role_arn": "string",
"session_name": "string",
"duration": "string",
"policy_arns": ["string"],
},
"azure": {
"client_id": "string",
"subscription_id": "string",
"tenant_id": "string",
},
"gcp": {
"project_id": "string",
"provider_id": "string",
"service_account": "string",
"workload_pool_id": "string",
"region": "string",
"token_lifetime": "string",
},
},
"options": {
"delete_after_destroy": False,
"shell": "string",
"skip_install_dependencies": False,
"skip_intermediate_deployments": False,
},
"pre_run_commands": ["string"],
},
source_context={
"git": {
"branch": "string",
"commit": "string",
"git_auth": {
"basic_auth": {
"password": "string",
"username": "string",
},
"ssh_auth": {
"ssh_private_key": "string",
"password": "string",
},
},
"repo_dir": "string",
"repo_url": "string",
},
})
const deploymentSettingsResource = new pulumiservice.DeploymentSettings("deploymentSettingsResource", {
organization: "string",
project: "string",
stack: "string",
agentPoolId: "string",
cacheOptions: {
enable: false,
},
executorContext: {
executorImage: "string",
},
github: {
deployCommits: false,
paths: ["string"],
previewPullRequests: false,
pullRequestTemplate: false,
repository: "string",
},
operationContext: {
environmentVariables: {
string: "string",
},
oidc: {
aws: {
roleARN: "string",
sessionName: "string",
duration: "string",
policyARNs: ["string"],
},
azure: {
clientId: "string",
subscriptionId: "string",
tenantId: "string",
},
gcp: {
projectId: "string",
providerId: "string",
serviceAccount: "string",
workloadPoolId: "string",
region: "string",
tokenLifetime: "string",
},
},
options: {
deleteAfterDestroy: false,
shell: "string",
skipInstallDependencies: false,
skipIntermediateDeployments: false,
},
preRunCommands: ["string"],
},
sourceContext: {
git: {
branch: "string",
commit: "string",
gitAuth: {
basicAuth: {
password: "string",
username: "string",
},
sshAuth: {
sshPrivateKey: "string",
password: "string",
},
},
repoDir: "string",
repoUrl: "string",
},
},
});
type: pulumiservice:DeploymentSettings
properties:
agentPoolId: string
cacheOptions:
enable: false
executorContext:
executorImage: string
github:
deployCommits: false
paths:
- string
previewPullRequests: false
pullRequestTemplate: false
repository: string
operationContext:
environmentVariables:
string: string
oidc:
aws:
duration: string
policyARNs:
- string
roleARN: string
sessionName: string
azure:
clientId: string
subscriptionId: string
tenantId: string
gcp:
projectId: string
providerId: string
region: string
serviceAccount: string
tokenLifetime: string
workloadPoolId: string
options:
deleteAfterDestroy: false
shell: string
skipInstallDependencies: false
skipIntermediateDeployments: false
preRunCommands:
- string
organization: string
project: string
sourceContext:
git:
branch: string
commit: string
gitAuth:
basicAuth:
password: string
username: string
sshAuth:
password: string
sshPrivateKey: string
repoDir: string
repoUrl: string
stack: string
DeploymentSettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DeploymentSettings resource accepts the following input properties:
- Organization string
- Organization name.
- Project string
- Project name.
- Stack string
- Stack name.
- Agent
Pool stringId - The agent pool identifier to use for the deployment.
- Cache
Options Pulumi.Pulumi Service. Inputs. Deployment Settings Cache Options - Dependency cache settings for the deployment
- Executor
Context Pulumi.Pulumi Service. Inputs. Deployment Settings Executor Context - Settings related to the deployment executor.
- Github
Pulumi.
Pulumi Service. Inputs. Deployment Settings Github - GitHub settings for the deployment.
- Operation
Context Pulumi.Pulumi Service. Inputs. Deployment Settings Operation Context - Settings related to the Pulumi operation environment during the deployment.
- Source
Context Pulumi.Pulumi Service. Inputs. Deployment Settings Source Context - Settings related to the source of the deployment.
- Organization string
- Organization name.
- Project string
- Project name.
- Stack string
- Stack name.
- Agent
Pool stringId - The agent pool identifier to use for the deployment.
- Cache
Options DeploymentSettings Cache Options Args - Dependency cache settings for the deployment
- Executor
Context DeploymentSettings Executor Context Args - Settings related to the deployment executor.
- Github
Deployment
Settings Github Args - GitHub settings for the deployment.
- Operation
Context DeploymentSettings Operation Context Args - Settings related to the Pulumi operation environment during the deployment.
- Source
Context DeploymentSettings Source Context Args - Settings related to the source of the deployment.
- organization String
- Organization name.
- project String
- Project name.
- stack String
- Stack name.
- agent
Pool StringId - The agent pool identifier to use for the deployment.
- cache
Options DeploymentSettings Cache Options - Dependency cache settings for the deployment
- executor
Context DeploymentSettings Executor Context - Settings related to the deployment executor.
- github
Deployment
Settings Github - GitHub settings for the deployment.
- operation
Context DeploymentSettings Operation Context - Settings related to the Pulumi operation environment during the deployment.
- source
Context DeploymentSettings Source Context - Settings related to the source of the deployment.
- organization string
- Organization name.
- project string
- Project name.
- stack string
- Stack name.
- agent
Pool stringId - The agent pool identifier to use for the deployment.
- cache
Options DeploymentSettings Cache Options - Dependency cache settings for the deployment
- executor
Context DeploymentSettings Executor Context - Settings related to the deployment executor.
- github
Deployment
Settings Github - GitHub settings for the deployment.
- operation
Context DeploymentSettings Operation Context - Settings related to the Pulumi operation environment during the deployment.
- source
Context DeploymentSettings Source Context - Settings related to the source of the deployment.
- organization str
- Organization name.
- project str
- Project name.
- stack str
- Stack name.
- agent_
pool_ strid - The agent pool identifier to use for the deployment.
- cache_
options DeploymentSettings Cache Options Args - Dependency cache settings for the deployment
- executor_
context DeploymentSettings Executor Context Args - Settings related to the deployment executor.
- github
Deployment
Settings Github Args - GitHub settings for the deployment.
- operation_
context DeploymentSettings Operation Context Args - Settings related to the Pulumi operation environment during the deployment.
- source_
context DeploymentSettings Source Context Args - Settings related to the source of the deployment.
- organization String
- Organization name.
- project String
- Project name.
- stack String
- Stack name.
- agent
Pool StringId - The agent pool identifier to use for the deployment.
- cache
Options Property Map - Dependency cache settings for the deployment
- executor
Context Property Map - Settings related to the deployment executor.
- github Property Map
- GitHub settings for the deployment.
- operation
Context Property Map - Settings related to the Pulumi operation environment during the deployment.
- source
Context Property Map - Settings related to the source of the deployment.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentSettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AWSOIDCConfiguration, AWSOIDCConfigurationArgs
- Role
ARN string - The ARN of the role to assume using the OIDC token.
- Session
Name string - The name of the assume-role session.
- Duration string
- Duration of the assume-role session in “XhYmZs” format
- Policy
ARNs List<string> - Optional set of IAM policy ARNs that further restrict the assume-role session
- Role
ARN string - The ARN of the role to assume using the OIDC token.
- Session
Name string - The name of the assume-role session.
- Duration string
- Duration of the assume-role session in “XhYmZs” format
- Policy
ARNs []string - Optional set of IAM policy ARNs that further restrict the assume-role session
- role
ARN String - The ARN of the role to assume using the OIDC token.
- session
Name String - The name of the assume-role session.
- duration String
- Duration of the assume-role session in “XhYmZs” format
- policy
ARNs List<String> - Optional set of IAM policy ARNs that further restrict the assume-role session
- role
ARN string - The ARN of the role to assume using the OIDC token.
- session
Name string - The name of the assume-role session.
- duration string
- Duration of the assume-role session in “XhYmZs” format
- policy
ARNs string[] - Optional set of IAM policy ARNs that further restrict the assume-role session
- role_
arn str - The ARN of the role to assume using the OIDC token.
- session_
name str - The name of the assume-role session.
- duration str
- Duration of the assume-role session in “XhYmZs” format
- policy_
arns Sequence[str] - Optional set of IAM policy ARNs that further restrict the assume-role session
- role
ARN String - The ARN of the role to assume using the OIDC token.
- session
Name String - The name of the assume-role session.
- duration String
- Duration of the assume-role session in “XhYmZs” format
- policy
ARNs List<String> - Optional set of IAM policy ARNs that further restrict the assume-role session
AzureOIDCConfiguration, AzureOIDCConfigurationArgs
- Client
Id string - The client ID of the federated workload identity.
- Subscription
Id string - The subscription ID of the federated workload identity.
- Tenant
Id string - The tenant ID of the federated workload identity.
- Client
Id string - The client ID of the federated workload identity.
- Subscription
Id string - The subscription ID of the federated workload identity.
- Tenant
Id string - The tenant ID of the federated workload identity.
- client
Id String - The client ID of the federated workload identity.
- subscription
Id String - The subscription ID of the federated workload identity.
- tenant
Id String - The tenant ID of the federated workload identity.
- client
Id string - The client ID of the federated workload identity.
- subscription
Id string - The subscription ID of the federated workload identity.
- tenant
Id string - The tenant ID of the federated workload identity.
- client_
id str - The client ID of the federated workload identity.
- subscription_
id str - The subscription ID of the federated workload identity.
- tenant_
id str - The tenant ID of the federated workload identity.
- client
Id String - The client ID of the federated workload identity.
- subscription
Id String - The subscription ID of the federated workload identity.
- tenant
Id String - The tenant ID of the federated workload identity.
DeploymentSettingsCacheOptions, DeploymentSettingsCacheOptionsArgs
- Enable bool
- Enable dependency caching
- Enable bool
- Enable dependency caching
- enable Boolean
- Enable dependency caching
- enable boolean
- Enable dependency caching
- enable bool
- Enable dependency caching
- enable Boolean
- Enable dependency caching
DeploymentSettingsExecutorContext, DeploymentSettingsExecutorContextArgs
- Executor
Image string - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
- Executor
Image string - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
- executor
Image String - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
- executor
Image string - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
- executor_
image str - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
- executor
Image String - Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
DeploymentSettingsGitAuthBasicAuth, DeploymentSettingsGitAuthBasicAuthArgs
DeploymentSettingsGitAuthSSHAuth, DeploymentSettingsGitAuthSSHAuthArgs
- Ssh
Private stringKey - SSH private key.
- Password string
- Optional password for SSH authentication.
- Ssh
Private stringKey - SSH private key.
- Password string
- Optional password for SSH authentication.
- ssh
Private StringKey - SSH private key.
- password String
- Optional password for SSH authentication.
- ssh
Private stringKey - SSH private key.
- password string
- Optional password for SSH authentication.
- ssh_
private_ strkey - SSH private key.
- password str
- Optional password for SSH authentication.
- ssh
Private StringKey - SSH private key.
- password String
- Optional password for SSH authentication.
DeploymentSettingsGitSource, DeploymentSettingsGitSourceArgs
- Branch string
- The branch to deploy. One of either
branch
orcommit
must be specified. - Commit string
- The commit to deploy. One of either
branch
orcommit
must be specified. - Git
Auth Pulumi.Pulumi Service. Inputs. Deployment Settings Git Source Git Auth - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - Repo
Dir string - The directory within the repository where the Pulumi.yaml is located.
- Repo
Url string - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
- Branch string
- The branch to deploy. One of either
branch
orcommit
must be specified. - Commit string
- The commit to deploy. One of either
branch
orcommit
must be specified. - Git
Auth DeploymentSettings Git Source Git Auth - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - Repo
Dir string - The directory within the repository where the Pulumi.yaml is located.
- Repo
Url string - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
- branch String
- The branch to deploy. One of either
branch
orcommit
must be specified. - commit String
- The commit to deploy. One of either
branch
orcommit
must be specified. - git
Auth DeploymentSettings Git Source Git Auth - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - repo
Dir String - The directory within the repository where the Pulumi.yaml is located.
- repo
Url String - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
- branch string
- The branch to deploy. One of either
branch
orcommit
must be specified. - commit string
- The commit to deploy. One of either
branch
orcommit
must be specified. - git
Auth DeploymentSettings Git Source Git Auth - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - repo
Dir string - The directory within the repository where the Pulumi.yaml is located.
- repo
Url string - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
- branch str
- The branch to deploy. One of either
branch
orcommit
must be specified. - commit str
- The commit to deploy. One of either
branch
orcommit
must be specified. - git_
auth DeploymentSettings Git Source Git Auth - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - repo_
dir str - The directory within the repository where the Pulumi.yaml is located.
- repo_
url str - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
- branch String
- The branch to deploy. One of either
branch
orcommit
must be specified. - commit String
- The commit to deploy. One of either
branch
orcommit
must be specified. - git
Auth Property Map - Git authentication configuration for this deployment. Should not be specified if there are
gitHub
settings for this deployment. - repo
Dir String - The directory within the repository where the Pulumi.yaml is located.
- repo
Url String - The repository URL to use for git settings. Should not be specified if there are
gitHub
settings for this deployment.
DeploymentSettingsGitSourceGitAuth, DeploymentSettingsGitSourceGitAuthArgs
- Basic
Auth Pulumi.Pulumi Service. Inputs. Deployment Settings Git Auth Basic Auth - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - Ssh
Auth Pulumi.Pulumi Service. Inputs. Deployment Settings Git Auth SSHAuth - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
- Basic
Auth DeploymentSettings Git Auth Basic Auth - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - Ssh
Auth DeploymentSettings Git Auth SSHAuth - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
- basic
Auth DeploymentSettings Git Auth Basic Auth - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - ssh
Auth DeploymentSettings Git Auth SSHAuth - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
- basic
Auth DeploymentSettings Git Auth Basic Auth - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - ssh
Auth DeploymentSettings Git Auth SSHAuth - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
- basic_
auth DeploymentSettings Git Auth Basic Auth - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - ssh_
auth DeploymentSettings Git Auth SSHAuth - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
- basic
Auth Property Map - Basic auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined. - ssh
Auth Property Map - SSH auth for git authentication. Only one of
personalAccessToken
,sshAuth
, orbasicAuth
must be defined.
DeploymentSettingsGithub, DeploymentSettingsGithubArgs
- Deploy
Commits bool - Trigger a deployment running
pulumi up
on commit. - Paths List<string>
- The paths within the repo that deployments should be filtered to.
- Preview
Pull boolRequests - Trigger a deployment running
pulumi preview
when a PR is opened. - Pull
Request boolTemplate - Use this stack as a template for pull request review stacks.
- Repository string
- The GitHub repository in the format org/repo.
- Deploy
Commits bool - Trigger a deployment running
pulumi up
on commit. - Paths []string
- The paths within the repo that deployments should be filtered to.
- Preview
Pull boolRequests - Trigger a deployment running
pulumi preview
when a PR is opened. - Pull
Request boolTemplate - Use this stack as a template for pull request review stacks.
- Repository string
- The GitHub repository in the format org/repo.
- deploy
Commits Boolean - Trigger a deployment running
pulumi up
on commit. - paths List<String>
- The paths within the repo that deployments should be filtered to.
- preview
Pull BooleanRequests - Trigger a deployment running
pulumi preview
when a PR is opened. - pull
Request BooleanTemplate - Use this stack as a template for pull request review stacks.
- repository String
- The GitHub repository in the format org/repo.
- deploy
Commits boolean - Trigger a deployment running
pulumi up
on commit. - paths string[]
- The paths within the repo that deployments should be filtered to.
- preview
Pull booleanRequests - Trigger a deployment running
pulumi preview
when a PR is opened. - pull
Request booleanTemplate - Use this stack as a template for pull request review stacks.
- repository string
- The GitHub repository in the format org/repo.
- deploy_
commits bool - Trigger a deployment running
pulumi up
on commit. - paths Sequence[str]
- The paths within the repo that deployments should be filtered to.
- preview_
pull_ boolrequests - Trigger a deployment running
pulumi preview
when a PR is opened. - pull_
request_ booltemplate - Use this stack as a template for pull request review stacks.
- repository str
- The GitHub repository in the format org/repo.
- deploy
Commits Boolean - Trigger a deployment running
pulumi up
on commit. - paths List<String>
- The paths within the repo that deployments should be filtered to.
- preview
Pull BooleanRequests - Trigger a deployment running
pulumi preview
when a PR is opened. - pull
Request BooleanTemplate - Use this stack as a template for pull request review stacks.
- repository String
- The GitHub repository in the format org/repo.
DeploymentSettingsOperationContext, DeploymentSettingsOperationContextArgs
- Environment
Variables Dictionary<string, string> - Environment variables to set for the deployment.
- Oidc
Pulumi.
Pulumi Service. Inputs. Operation Context OIDC - OIDC configuration to use during the deployment.
- Options
Pulumi.
Pulumi Service. Inputs. Operation Context Options - Options to override default behavior during the deployment.
- Pre
Run List<string>Commands - Shell commands to run before the Pulumi operation executes.
- Environment
Variables map[string]string - Environment variables to set for the deployment.
- Oidc
Operation
Context OIDC - OIDC configuration to use during the deployment.
- Options
Operation
Context Options - Options to override default behavior during the deployment.
- Pre
Run []stringCommands - Shell commands to run before the Pulumi operation executes.
- environment
Variables Map<String,String> - Environment variables to set for the deployment.
- oidc
Operation
Context OIDC - OIDC configuration to use during the deployment.
- options
Operation
Context Options - Options to override default behavior during the deployment.
- pre
Run List<String>Commands - Shell commands to run before the Pulumi operation executes.
- environment
Variables {[key: string]: string} - Environment variables to set for the deployment.
- oidc
Operation
Context OIDC - OIDC configuration to use during the deployment.
- options
Operation
Context Options - Options to override default behavior during the deployment.
- pre
Run string[]Commands - Shell commands to run before the Pulumi operation executes.
- environment_
variables Mapping[str, str] - Environment variables to set for the deployment.
- oidc
Operation
Context OIDC - OIDC configuration to use during the deployment.
- options
Operation
Context Options - Options to override default behavior during the deployment.
- pre_
run_ Sequence[str]commands - Shell commands to run before the Pulumi operation executes.
- environment
Variables Map<String> - Environment variables to set for the deployment.
- oidc Property Map
- OIDC configuration to use during the deployment.
- options Property Map
- Options to override default behavior during the deployment.
- pre
Run List<String>Commands - Shell commands to run before the Pulumi operation executes.
DeploymentSettingsSourceContext, DeploymentSettingsSourceContextArgs
- Git
Pulumi.
Pulumi Service. Inputs. Deployment Settings Git Source - Git source settings for a deployment.
- Git
Deployment
Settings Git Source - Git source settings for a deployment.
- git
Deployment
Settings Git Source - Git source settings for a deployment.
- git
Deployment
Settings Git Source - Git source settings for a deployment.
- git
Deployment
Settings Git Source - Git source settings for a deployment.
- git Property Map
- Git source settings for a deployment.
GCPOIDCConfiguration, GCPOIDCConfigurationArgs
- Project
Id string - The numerical ID of the GCP project.
- Provider
Id string - The ID of the identity provider associated with the workload pool.
- Service
Account string - The email address of the service account to use.
- Workload
Pool stringId - The ID of the workload pool to use.
- Region string
- The region of the GCP project.
- Token
Lifetime string - The lifetime of the temporary credentials in “XhYmZs” format.
- Project
Id string - The numerical ID of the GCP project.
- Provider
Id string - The ID of the identity provider associated with the workload pool.
- Service
Account string - The email address of the service account to use.
- Workload
Pool stringId - The ID of the workload pool to use.
- Region string
- The region of the GCP project.
- Token
Lifetime string - The lifetime of the temporary credentials in “XhYmZs” format.
- project
Id String - The numerical ID of the GCP project.
- provider
Id String - The ID of the identity provider associated with the workload pool.
- service
Account String - The email address of the service account to use.
- workload
Pool StringId - The ID of the workload pool to use.
- region String
- The region of the GCP project.
- token
Lifetime String - The lifetime of the temporary credentials in “XhYmZs” format.
- project
Id string - The numerical ID of the GCP project.
- provider
Id string - The ID of the identity provider associated with the workload pool.
- service
Account string - The email address of the service account to use.
- workload
Pool stringId - The ID of the workload pool to use.
- region string
- The region of the GCP project.
- token
Lifetime string - The lifetime of the temporary credentials in “XhYmZs” format.
- project_
id str - The numerical ID of the GCP project.
- provider_
id str - The ID of the identity provider associated with the workload pool.
- service_
account str - The email address of the service account to use.
- workload_
pool_ strid - The ID of the workload pool to use.
- region str
- The region of the GCP project.
- token_
lifetime str - The lifetime of the temporary credentials in “XhYmZs” format.
- project
Id String - The numerical ID of the GCP project.
- provider
Id String - The ID of the identity provider associated with the workload pool.
- service
Account String - The email address of the service account to use.
- workload
Pool StringId - The ID of the workload pool to use.
- region String
- The region of the GCP project.
- token
Lifetime String - The lifetime of the temporary credentials in “XhYmZs” format.
OperationContextOIDC, OperationContextOIDCArgs
- Aws
Pulumi.
Pulumi Service. Inputs. AWSOIDCConfiguration - AWS-specific OIDC configuration.
- Azure
Pulumi.
Pulumi Service. Inputs. Azure OIDCConfiguration - Azure-specific OIDC configuration.
- Gcp
Pulumi.
Pulumi Service. Inputs. GCPOIDCConfiguration - GCP-specific OIDC configuration.
- Aws AWSOIDCConfiguration
- AWS-specific OIDC configuration.
- Azure
Azure
OIDCConfiguration - Azure-specific OIDC configuration.
- Gcp GCPOIDCConfiguration
- GCP-specific OIDC configuration.
- aws AWSOIDCConfiguration
- AWS-specific OIDC configuration.
- azure
Azure
OIDCConfiguration - Azure-specific OIDC configuration.
- gcp GCPOIDCConfiguration
- GCP-specific OIDC configuration.
- aws AWSOIDCConfiguration
- AWS-specific OIDC configuration.
- azure
Azure
OIDCConfiguration - Azure-specific OIDC configuration.
- gcp GCPOIDCConfiguration
- GCP-specific OIDC configuration.
- aws AWSOIDCConfiguration
- AWS-specific OIDC configuration.
- azure
Azure
OIDCConfiguration - Azure-specific OIDC configuration.
- gcp GCPOIDCConfiguration
- GCP-specific OIDC configuration.
- aws Property Map
- AWS-specific OIDC configuration.
- azure Property Map
- Azure-specific OIDC configuration.
- gcp Property Map
- GCP-specific OIDC configuration.
OperationContextOptions, OperationContextOptionsArgs
- Delete
After boolDestroy - Whether the stack should be deleted after it is destroyed.
- Shell string
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- Skip
Install boolDependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- Skip
Intermediate boolDeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
- Delete
After boolDestroy - Whether the stack should be deleted after it is destroyed.
- Shell string
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- Skip
Install boolDependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- Skip
Intermediate boolDeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
- delete
After BooleanDestroy - Whether the stack should be deleted after it is destroyed.
- shell String
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- skip
Install BooleanDependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- skip
Intermediate BooleanDeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
- delete
After booleanDestroy - Whether the stack should be deleted after it is destroyed.
- shell string
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- skip
Install booleanDependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- skip
Intermediate booleanDeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
- delete_
after_ booldestroy - Whether the stack should be deleted after it is destroyed.
- shell str
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- skip_
install_ booldependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- skip_
intermediate_ booldeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
- delete
After BooleanDestroy - Whether the stack should be deleted after it is destroyed.
- shell String
- The shell to use to run commands during the deployment. Defaults to 'bash'.
- skip
Install BooleanDependencies - Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
- skip
Intermediate BooleanDeployments - Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0