published on Tuesday, Feb 17, 2026 by jfrog
published on Tuesday, Feb 17, 2026 by jfrog
Provides a lifecycle stage resource to create and manage lifecycle stages. A lifecycle stage represents a step in the software development lifecycle. See JFrog documentation for more details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as platform from "@pulumi/platform";
// Global lifecycle stage
const dev = new platform.LifecycleStage("dev", {
name: "dev",
category: "promote",
});
// Project-level lifecycle stage
// Note: Project-scoped stage names must be prefixed with the project_key
const staging = new platform.LifecycleStage("staging", {
name: "my-project-staging",
projectKey: "my-project",
category: "promote",
});
// Code category stage
const qa = new platform.LifecycleStage("qa", {
name: "my-project-qa",
projectKey: "my-project",
category: "code",
});
// Minimal example (category defaults to "promote")
const test = new platform.LifecycleStage("test", {
name: "my-project-test",
projectKey: "my-project",
});
import pulumi
import pulumi_platform as platform
# Global lifecycle stage
dev = platform.LifecycleStage("dev",
name="dev",
category="promote")
# Project-level lifecycle stage
# Note: Project-scoped stage names must be prefixed with the project_key
staging = platform.LifecycleStage("staging",
name="my-project-staging",
project_key="my-project",
category="promote")
# Code category stage
qa = platform.LifecycleStage("qa",
name="my-project-qa",
project_key="my-project",
category="code")
# Minimal example (category defaults to "promote")
test = platform.LifecycleStage("test",
name="my-project-test",
project_key="my-project")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/platform/v2/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Global lifecycle stage
_, err := platform.NewLifecycleStage(ctx, "dev", &platform.LifecycleStageArgs{
Name: pulumi.String("dev"),
Category: pulumi.String("promote"),
})
if err != nil {
return err
}
// Project-level lifecycle stage
// Note: Project-scoped stage names must be prefixed with the project_key
_, err = platform.NewLifecycleStage(ctx, "staging", &platform.LifecycleStageArgs{
Name: pulumi.String("my-project-staging"),
ProjectKey: pulumi.String("my-project"),
Category: pulumi.String("promote"),
})
if err != nil {
return err
}
// Code category stage
_, err = platform.NewLifecycleStage(ctx, "qa", &platform.LifecycleStageArgs{
Name: pulumi.String("my-project-qa"),
ProjectKey: pulumi.String("my-project"),
Category: pulumi.String("code"),
})
if err != nil {
return err
}
// Minimal example (category defaults to "promote")
_, err = platform.NewLifecycleStage(ctx, "test", &platform.LifecycleStageArgs{
Name: pulumi.String("my-project-test"),
ProjectKey: pulumi.String("my-project"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Platform = Pulumi.Platform;
return await Deployment.RunAsync(() =>
{
// Global lifecycle stage
var dev = new Platform.LifecycleStage("dev", new()
{
Name = "dev",
Category = "promote",
});
// Project-level lifecycle stage
// Note: Project-scoped stage names must be prefixed with the project_key
var staging = new Platform.LifecycleStage("staging", new()
{
Name = "my-project-staging",
ProjectKey = "my-project",
Category = "promote",
});
// Code category stage
var qa = new Platform.LifecycleStage("qa", new()
{
Name = "my-project-qa",
ProjectKey = "my-project",
Category = "code",
});
// Minimal example (category defaults to "promote")
var test = new Platform.LifecycleStage("test", new()
{
Name = "my-project-test",
ProjectKey = "my-project",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.platform.LifecycleStage;
import com.pulumi.platform.LifecycleStageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Global lifecycle stage
var dev = new LifecycleStage("dev", LifecycleStageArgs.builder()
.name("dev")
.category("promote")
.build());
// Project-level lifecycle stage
// Note: Project-scoped stage names must be prefixed with the project_key
var staging = new LifecycleStage("staging", LifecycleStageArgs.builder()
.name("my-project-staging")
.projectKey("my-project")
.category("promote")
.build());
// Code category stage
var qa = new LifecycleStage("qa", LifecycleStageArgs.builder()
.name("my-project-qa")
.projectKey("my-project")
.category("code")
.build());
// Minimal example (category defaults to "promote")
var test = new LifecycleStage("test", LifecycleStageArgs.builder()
.name("my-project-test")
.projectKey("my-project")
.build());
}
}
resources:
# Global lifecycle stage
dev:
type: platform:LifecycleStage
properties:
name: dev
category: promote
# Project-level lifecycle stage
# Note: Project-scoped stage names must be prefixed with the project_key
staging:
type: platform:LifecycleStage
properties:
name: my-project-staging
projectKey: my-project
category: promote
# Code category stage
qa:
type: platform:LifecycleStage
properties:
name: my-project-qa
projectKey: my-project
category: code
# Minimal example (category defaults to "promote")
test:
type: platform:LifecycleStage
properties:
name: my-project-test
projectKey: my-project
Create LifecycleStage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LifecycleStage(name: string, args?: LifecycleStageArgs, opts?: CustomResourceOptions);@overload
def LifecycleStage(resource_name: str,
args: Optional[LifecycleStageArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LifecycleStage(resource_name: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
detach_on_destroy: Optional[bool] = None,
name: Optional[str] = None,
project_key: Optional[str] = None)func NewLifecycleStage(ctx *Context, name string, args *LifecycleStageArgs, opts ...ResourceOption) (*LifecycleStage, error)public LifecycleStage(string name, LifecycleStageArgs? args = null, CustomResourceOptions? opts = null)
public LifecycleStage(String name, LifecycleStageArgs args)
public LifecycleStage(String name, LifecycleStageArgs args, CustomResourceOptions options)
type: platform:LifecycleStage
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 LifecycleStageArgs
- 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 LifecycleStageArgs
- 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 LifecycleStageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LifecycleStageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LifecycleStageArgs
- 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 lifecycleStageResource = new Platform.LifecycleStage("lifecycleStageResource", new()
{
Category = "string",
DetachOnDestroy = false,
Name = "string",
ProjectKey = "string",
});
example, err := platform.NewLifecycleStage(ctx, "lifecycleStageResource", &platform.LifecycleStageArgs{
Category: pulumi.String("string"),
DetachOnDestroy: pulumi.Bool(false),
Name: pulumi.String("string"),
ProjectKey: pulumi.String("string"),
})
var lifecycleStageResource = new LifecycleStage("lifecycleStageResource", LifecycleStageArgs.builder()
.category("string")
.detachOnDestroy(false)
.name("string")
.projectKey("string")
.build());
lifecycle_stage_resource = platform.LifecycleStage("lifecycleStageResource",
category="string",
detach_on_destroy=False,
name="string",
project_key="string")
const lifecycleStageResource = new platform.LifecycleStage("lifecycleStageResource", {
category: "string",
detachOnDestroy: false,
name: "string",
projectKey: "string",
});
type: platform:LifecycleStage
properties:
category: string
detachOnDestroy: false
name: string
projectKey: string
LifecycleStage 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 LifecycleStage resource accepts the following input properties:
- Category string
- The category of the stage:
none,code, orpromote(default:promote). - Detach
On boolDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- Name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- Project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- Category string
- The category of the stage:
none,code, orpromote(default:promote). - Detach
On boolDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- Name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- Project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- category String
- The category of the stage:
none,code, orpromote(default:promote). - detach
On BooleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- name String
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key String - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- category string
- The category of the stage:
none,code, orpromote(default:promote). - detach
On booleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- category str
- The category of the stage:
none,code, orpromote(default:promote). - detach_
on_ booldestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- name str
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project_
key str - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- category String
- The category of the stage:
none,code, orpromote(default:promote). - detach
On BooleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- name String
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key String - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
Outputs
All input properties are implicitly available as output properties. Additionally, the LifecycleStage resource produces the following output properties:
- Created double
- The timestamp when the stage was created (milliseconds since epoch).
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified double
- The timestamp when the stage was last modified (milliseconds since epoch).
- Repositories List<string>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - Scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - Total
Repository doubleCount - The total number of repositories assigned to this stage. Read-only.
- Used
In List<string>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- Created float64
- The timestamp when the stage was created (milliseconds since epoch).
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified float64
- The timestamp when the stage was last modified (milliseconds since epoch).
- Repositories []string
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - Scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - Total
Repository float64Count - The total number of repositories assigned to this stage. Read-only.
- Used
In []stringLifecycles - Lists the project keys that use this stage as part of its lifecycle.
- created Double
- The timestamp when the stage was created (milliseconds since epoch).
- id String
- The provider-assigned unique ID for this managed resource.
- modified Double
- The timestamp when the stage was last modified (milliseconds since epoch).
- repositories List<String>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope String
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository DoubleCount - The total number of repositories assigned to this stage. Read-only.
- used
In List<String>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- created number
- The timestamp when the stage was created (milliseconds since epoch).
- id string
- The provider-assigned unique ID for this managed resource.
- modified number
- The timestamp when the stage was last modified (milliseconds since epoch).
- repositories string[]
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository numberCount - The total number of repositories assigned to this stage. Read-only.
- used
In string[]Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- created float
- The timestamp when the stage was created (milliseconds since epoch).
- id str
- The provider-assigned unique ID for this managed resource.
- modified float
- The timestamp when the stage was last modified (milliseconds since epoch).
- repositories Sequence[str]
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope str
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total_
repository_ floatcount - The total number of repositories assigned to this stage. Read-only.
- used_
in_ Sequence[str]lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- created Number
- The timestamp when the stage was created (milliseconds since epoch).
- id String
- The provider-assigned unique ID for this managed resource.
- modified Number
- The timestamp when the stage was last modified (milliseconds since epoch).
- repositories List<String>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope String
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository NumberCount - The total number of repositories assigned to this stage. Read-only.
- used
In List<String>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
Look up Existing LifecycleStage Resource
Get an existing LifecycleStage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LifecycleStageState, opts?: CustomResourceOptions): LifecycleStage@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
created: Optional[float] = None,
detach_on_destroy: Optional[bool] = None,
modified: Optional[float] = None,
name: Optional[str] = None,
project_key: Optional[str] = None,
repositories: Optional[Sequence[str]] = None,
scope: Optional[str] = None,
total_repository_count: Optional[float] = None,
used_in_lifecycles: Optional[Sequence[str]] = None) -> LifecycleStagefunc GetLifecycleStage(ctx *Context, name string, id IDInput, state *LifecycleStageState, opts ...ResourceOption) (*LifecycleStage, error)public static LifecycleStage Get(string name, Input<string> id, LifecycleStageState? state, CustomResourceOptions? opts = null)public static LifecycleStage get(String name, Output<String> id, LifecycleStageState state, CustomResourceOptions options)resources: _: type: platform:LifecycleStage get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Category string
- The category of the stage:
none,code, orpromote(default:promote). - Created double
- The timestamp when the stage was created (milliseconds since epoch).
- Detach
On boolDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- Modified double
- The timestamp when the stage was last modified (milliseconds since epoch).
- Name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- Project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- Repositories List<string>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - Scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - Total
Repository doubleCount - The total number of repositories assigned to this stage. Read-only.
- Used
In List<string>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- Category string
- The category of the stage:
none,code, orpromote(default:promote). - Created float64
- The timestamp when the stage was created (milliseconds since epoch).
- Detach
On boolDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- Modified float64
- The timestamp when the stage was last modified (milliseconds since epoch).
- Name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- Project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- Repositories []string
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - Scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - Total
Repository float64Count - The total number of repositories assigned to this stage. Read-only.
- Used
In []stringLifecycles - Lists the project keys that use this stage as part of its lifecycle.
- category String
- The category of the stage:
none,code, orpromote(default:promote). - created Double
- The timestamp when the stage was created (milliseconds since epoch).
- detach
On BooleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- modified Double
- The timestamp when the stage was last modified (milliseconds since epoch).
- name String
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key String - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- repositories List<String>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope String
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository DoubleCount - The total number of repositories assigned to this stage. Read-only.
- used
In List<String>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- category string
- The category of the stage:
none,code, orpromote(default:promote). - created number
- The timestamp when the stage was created (milliseconds since epoch).
- detach
On booleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- modified number
- The timestamp when the stage was last modified (milliseconds since epoch).
- name string
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key string - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- repositories string[]
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope string
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository numberCount - The total number of repositories assigned to this stage. Read-only.
- used
In string[]Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- category str
- The category of the stage:
none,code, orpromote(default:promote). - created float
- The timestamp when the stage was created (milliseconds since epoch).
- detach_
on_ booldestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- modified float
- The timestamp when the stage was last modified (milliseconds since epoch).
- name str
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project_
key str - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- repositories Sequence[str]
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope str
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total_
repository_ floatcount - The total number of repositories assigned to this stage. Read-only.
- used_
in_ Sequence[str]lifecycles - Lists the project keys that use this stage as part of its lifecycle.
- category String
- The category of the stage:
none,code, orpromote(default:promote). - created Number
- The timestamp when the stage was created (milliseconds since epoch).
- detach
On BooleanDestroy - If true, the stage will be detached from the lifecycle when the resource is destroyed. This is useful to prevent the stage from being deleted when the lifecycle is destroyed.
- modified Number
- The timestamp when the stage was last modified (milliseconds since epoch).
- name String
- The unique name of the stage (for example, DEV, QA, PROD). For project-scoped stages, the name must be prefixed with the projectkey (e.g., 'bookverse-deploy' if projectkey is 'bookverse'). Important: Stage names are case-sensitive.
- project
Key String - [For project-level stages only] The project key associated with the stage. When set, the stage name must be prefixed with this value (e.g. 'bookverse-deploy' if project_key is 'bookverse').
- repositories List<String>
- A list of repository keys assigned to this stage. This is relevant only when the category is
promote. Repositories are managed by the API and returned in the response. Read-only. - scope String
- The scope of the stage: GLOBAL or PROJECT. This is determined by the API based on whether
project_keyis provided. Read-only. - total
Repository NumberCount - The total number of repositories assigned to this stage. Read-only.
- used
In List<String>Lifecycles - Lists the project keys that use this stage as part of its lifecycle.
Import
#!/bin/bash
Import a global lifecycle stage
$ pulumi import platform:index/lifecycleStage:LifecycleStage production PROD
Import a project-level lifecycle stage
$ pulumi import platform:index/lifecycleStage:LifecycleStage staging staging-us-east:my-project
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- platform jfrog/terraform-provider-platform
- License
- Notes
- This Pulumi package is based on the
platformTerraform Provider.
published on Tuesday, Feb 17, 2026 by jfrog
